[shill] Add Profile objects
Add a mostly-empty Profile object and all the wiring to hook it up to DBus
BUG=chromium-os:17154
TEST=unit tests
Change-Id: I16bf488969f071dd91c31ef454c7e10a81f9afe7
Reviewed-on: http://gerrit.chromium.org/gerrit/3423
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/mock_control.cc b/mock_control.cc
index eaaf2a3..0504963 100644
--- a/mock_control.cc
+++ b/mock_control.cc
@@ -23,4 +23,8 @@
return new DeviceMockAdaptor();
}
+ProfileAdaptorInterface *MockControl::CreateProfileAdaptor(Profile *profile) {
+ return new ProfileMockAdaptor();
+}
+
} // namespace shill