Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: chromeos/network/geolocation_handler.cc

Issue 24348002: Migrate DBus service constants from flimflam namespace to shill namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased to ToT Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/network/favorite_state.cc ('k') | chromeos/network/geolocation_handler_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/geolocation_handler.cc
diff --git a/chromeos/network/geolocation_handler.cc b/chromeos/network/geolocation_handler.cc
index 468b2d03b19c2b2c9241698315887f5bca2f163f..d4adfb8998b549ba63f859f9af9c2c072f8dbbf6 100644
--- a/chromeos/network/geolocation_handler.cc
+++ b/chromeos/network/geolocation_handler.cc
@@ -64,13 +64,13 @@ void GeolocationHandler::ManagerPropertiesCallback(
DBusMethodCallStatus call_status,
const base::DictionaryValue& properties) {
const base::Value* value = NULL;
- if (properties.Get(flimflam::kEnabledTechnologiesProperty, &value) && value)
- HandlePropertyChanged(flimflam::kEnabledTechnologiesProperty, *value);
+ if (properties.Get(shill::kEnabledTechnologiesProperty, &value) && value)
+ HandlePropertyChanged(shill::kEnabledTechnologiesProperty, *value);
}
void GeolocationHandler::HandlePropertyChanged(const std::string& key,
const base::Value& value) {
- if (key != flimflam::kEnabledTechnologiesProperty)
+ if (key != shill::kEnabledTechnologiesProperty)
return;
const base::ListValue* technologies = NULL;
if (!value.GetAsList(&technologies) || !technologies)
@@ -81,7 +81,7 @@ void GeolocationHandler::HandlePropertyChanged(const std::string& key,
iter != technologies->end(); ++iter) {
std::string technology;
(*iter)->GetAsString(&technology);
- if (technology == flimflam::kTypeWifi) {
+ if (technology == shill::kTypeWifi) {
wifi_enabled_ = true;
break;
}
« no previous file with comments | « chromeos/network/favorite_state.cc ('k') | chromeos/network/geolocation_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698