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

Unified Diff: chromeos/network/network_util.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 | « chromeos/network/network_util.h ('k') | chromeos/network/network_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/network/network_util.cc
diff --git a/chromeos/network/network_util.cc b/chromeos/network/network_util.cc
index 8b1ff441fa356d9c98f91ebd2f3f585f69e765ae..1acf6e584c5b296a37dc6d6a8742a26aa4496e3b 100644
--- a/chromeos/network/network_util.cc
+++ b/chromeos/network/network_util.cc
@@ -93,15 +93,17 @@ int32 NetmaskToPrefixLength(const std::string& netmask) {
return prefix_length;
}
-bool ParseCellularScanResults(
- const ListValue& list, std::vector<CellularScanResult>* scan_results) {
+bool ParseCellularScanResults(const base::ListValue& list,
+ std::vector<CellularScanResult>* scan_results) {
scan_results->clear();
scan_results->reserve(list.GetSize());
- for (ListValue::const_iterator it = list.begin(); it != list.end(); ++it) {
+ for (base::ListValue::const_iterator it = list.begin();
+ it != list.end(); ++it) {
if (!(*it)->IsType(base::Value::TYPE_DICTIONARY))
return false;
CellularScanResult scan_result;
- const DictionaryValue* dict = static_cast<const DictionaryValue*>(*it);
+ const base::DictionaryValue* dict =
+ static_cast<const base::DictionaryValue*>(*it);
// If the network id property is not present then this network cannot be
// connected to so don't include it in the results.
if (!dict->GetStringWithoutPathExpansion(shill::kNetworkIdProperty,
« no previous file with comments | « chromeos/network/network_util.h ('k') | chromeos/network/network_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698