summaryrefslogtreecommitdiffstats
path: root/components/wifi/fake_wifi_service.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-23 21:58:45 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-23 21:58:45 +0000
commit85ecd7e2a7efe7fd05d1803412bfe46d8b3bd9d0 (patch)
tree945304a53f7fe9aa4df18620e55cb6d067604ea7 /components/wifi/fake_wifi_service.cc
parente53a7f29591f8b3f03f97541b3b30422780b39a6 (diff)
downloadchromium_src-85ecd7e2a7efe7fd05d1803412bfe46d8b3bd9d0.zip
chromium_src-85ecd7e2a7efe7fd05d1803412bfe46d8b3bd9d0.tar.gz
chromium_src-85ecd7e2a7efe7fd05d1803412bfe46d8b3bd9d0.tar.bz2
Update uses of Value in chromeos/, cloud_print/, components/, content/ to use the base:: namespace.
BUG=88666 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/108603005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/wifi/fake_wifi_service.cc')
-rw-r--r--components/wifi/fake_wifi_service.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/components/wifi/fake_wifi_service.cc b/components/wifi/fake_wifi_service.cc
index 9ca63ef..af78d72 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());
}
}