shill: profile: Deprecate flimflam namespace.
CL:170123 moves all DBus service constants from the flimflam namespace
to the shill namespace. This CL removes the use of the flimflam
namespace in profile code.
BUG=chromium:295425
CQ-DEPEND=CL:170123
TEST=Unit tests and trybot runs on release builders.
Change-Id: I8b9cb3b3509479f58313ac48a98b3a8b506b8d74
Reviewed-on: https://chromium-review.googlesource.com/170206
Reviewed-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
diff --git a/profile.cc b/profile.cc
index 7f9f655..b28fbb3 100644
--- a/profile.cc
+++ b/profile.cc
@@ -49,18 +49,17 @@
if (connect_to_rpc)
adaptor_.reset(control_interface->CreateProfileAdaptor(this));
- // flimflam::kCheckPortalListProperty: Registered in DefaultProfile
- // flimflam::kCountryProperty: Registered in DefaultProfile
- store_.RegisterConstString(flimflam::kNameProperty, &name_.identifier);
+ // kCheckPortalListProperty: Registered in DefaultProfile
+ // kCountryProperty: Registered in DefaultProfile
+ store_.RegisterConstString(kNameProperty, &name_.identifier);
store_.RegisterConstString(kUserHashProperty, &name_.user_hash);
- // flimflam::kOfflineModeProperty: Registered in DefaultProfile
- // flimflam::kPortalURLProperty: Registered in DefaultProfile
+ // kOfflineModeProperty: Registered in DefaultProfile
+ // kPortalURLProperty: Registered in DefaultProfile
- HelpRegisterConstDerivedStrings(flimflam::kServicesProperty,
+ HelpRegisterConstDerivedStrings(kServicesProperty,
&Profile::EnumerateAvailableServices);
- HelpRegisterConstDerivedStrings(flimflam::kEntriesProperty,
- &Profile::EnumerateEntries);
+ HelpRegisterConstDerivedStrings(kEntriesProperty, &Profile::EnumerateEntries);
}
Profile::~Profile() {}