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

Unified Diff: components/wifi/fake_wifi_service.cc

Issue 108603005: Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « components/user_prefs/pref_registry_syncable.cc ('k') | components/wifi/wifi_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/wifi/fake_wifi_service.cc
diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc
index 9ca63ef77954ac3fe9053f6093d42d97f53bff07..af78d72bffc0324e801b2deb83ca0c0397e26e8f 100644
--- a/components/wifi/fake_wifi_service.cc
+++ b/components/wifi/fake_wifi_service.cc
@@ -88,7 +88,7 @@ class FakeWiFiService : public WiFiService {
virtual void UnInitialize() OVERRIDE {}
virtual void GetProperties(const std::string& network_guid,
- DictionaryValue* properties,
+ base::DictionaryValue* properties,
std::string* error) OVERRIDE {
NetworkList::iterator network_properties = FindNetwork(network_guid);
if (network_properties != networks_.end()) {
@@ -99,7 +99,7 @@ class FakeWiFiService : public WiFiService {
}
virtual void GetManagedProperties(const std::string& network_guid,
- DictionaryValue* managed_properties,
+ base::DictionaryValue* managed_properties,
std::string* error) OVERRIDE {
const std::string network_properties =
"{"
@@ -152,14 +152,14 @@ class FakeWiFiService : public WiFiService {
" }"
" }"
"}";
- scoped_ptr<DictionaryValue> properties_value(
- reinterpret_cast<DictionaryValue*>(
+ scoped_ptr<base::DictionaryValue> properties_value(
+ reinterpret_cast<base::DictionaryValue*>(
base::JSONReader::Read(network_properties)));
managed_properties->MergeDictionary(properties_value.get());
}
virtual void GetState(const std::string& network_guid,
- DictionaryValue* properties,
+ base::DictionaryValue* properties,
std::string* error) OVERRIDE {
NetworkList::iterator network_properties = FindNetwork(network_guid);
if (network_properties == networks_.end()) {
@@ -178,8 +178,8 @@ class FakeWiFiService : public WiFiService {
" \"SignalStrength\": 80"
" }"
"}";
- scoped_ptr<DictionaryValue> properties_value(
- reinterpret_cast<DictionaryValue*>(
+ scoped_ptr<base::DictionaryValue> properties_value(
+ reinterpret_cast<base::DictionaryValue*>(
base::JSONReader::Read(network_state)));
properties->MergeDictionary(properties_value.get());
}
@@ -209,14 +209,14 @@ class FakeWiFiService : public WiFiService {
}
virtual void GetVisibleNetworks(const std::string& network_type,
- ListValue* network_list) OVERRIDE {
+ base::ListValue* network_list) OVERRIDE {
for (WiFiService::NetworkList::const_iterator it = networks_.begin();
it != networks_.end();
++it) {
if (network_type.empty() ||
network_type == onc::network_type::kAllTypes ||
it->type == network_type) {
- scoped_ptr<DictionaryValue> network(it->ToValue(true));
+ scoped_ptr<base::DictionaryValue> network(it->ToValue(true));
network_list->Append(network.release());
}
}
« no previous file with comments | « components/user_prefs/pref_registry_syncable.cc ('k') | components/wifi/wifi_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698