[shill] Start cleaning up some of the naming confusion
We have, so far, not been tidy wrt our objects naming themselves,
for human-readable stuff, RPC-path stuff, etc.
This starts to clean up some of that confusion.
BUG=chromium-os:17744
TEST=unit tests
Change-Id: If4d7f61ba51e527984328a0ccdf4dec461b36074
Reviewed-on: http://gerrit.chromium.org/gerrit/4311
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/mock_profile.cc b/mock_profile.cc
index 628d9d2..0fc99a0 100644
--- a/mock_profile.cc
+++ b/mock_profile.cc
@@ -21,7 +21,14 @@
MockProfile::MockProfile(ControlInterface *control_interface,
GLib *glib,
Manager *manager)
- : Profile(control_interface, glib, manager) {
+ : Profile(control_interface, glib, manager, Identifier("mock"), false) {
+}
+
+MockProfile::MockProfile(ControlInterface *control_interface,
+ GLib *glib,
+ Manager *manager,
+ const std::string &identifier)
+ : Profile(control_interface, glib, manager, Identifier(identifier), false) {
}
MockProfile::~MockProfile() {}