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

Unified Diff: chrome/browser/chromeos/cros/network_library_impl_cros.cc

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const Created 8 years, 5 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
Index: chrome/browser/chromeos/cros/network_library_impl_cros.cc
diff --git a/chrome/browser/chromeos/cros/network_library_impl_cros.cc b/chrome/browser/chromeos/cros/network_library_impl_cros.cc
index 09f2eb92cbd187acd3720ebd6b3be5280bf37580..27b00859b615d5ea39cd7bd2991dd1ff72cabaee 100644
--- a/chrome/browser/chromeos/cros/network_library_impl_cros.cc
+++ b/chrome/browser/chromeos/cros/network_library_impl_cros.cc
@@ -726,7 +726,7 @@ void NetworkLibraryImplCros::NetworkManagerUpdate(
for (DictionaryValue::key_iterator iter = properties->begin_keys();
iter != properties->end_keys(); ++iter) {
const std::string& key = *iter;
- Value* value;
+ const Value* value;
bool res = properties->GetWithoutPathExpansion(key, &value);
CHECK(res);
if (!NetworkManagerStatusChanged(key, value)) {
@@ -997,7 +997,7 @@ void NetworkLibraryImplCros::UpdateProfile(
return;
}
VLOG(1) << "UpdateProfile for path: " << profile_path;
- ListValue* profile_entries(NULL);
+ const ListValue* profile_entries(NULL);
properties->GetList(flimflam::kEntriesProperty, &profile_entries);
if (!profile_entries) {
LOG(ERROR) << "'Entries' property is missing.";
« no previous file with comments | « chrome/browser/chromeos/cros/native_network_parser.cc ('k') | chrome/browser/chromeos/cros/network_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698