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

Unified Diff: cloud_print/service/service_state.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
« no previous file with comments | « chromeos/network/network_sms_handler.cc ('k') | content/browser/geolocation/network_location_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/service_state.cc
diff --git a/cloud_print/service/service_state.cc b/cloud_print/service/service_state.cc
index a07f8f23d908aaec4eea7ac02b66160fd1450ba5..8007db3b87502d19b446194864a6e51f3eec778e 100644
--- a/cloud_print/service/service_state.cc
+++ b/cloud_print/service/service_state.cc
@@ -103,7 +103,7 @@ bool ServiceState::FromString(const std::string& json) {
if (!data->GetAsDictionary(&services))
return false;
- base::DictionaryValue* cloud_print = NULL;
+ const base::DictionaryValue* cloud_print = NULL;
if (!services->GetDictionary(kCloudPrintJsonName, &cloud_print))
return false;
@@ -208,4 +208,3 @@ bool ServiceState::Configure(const std::string& email,
xmpp_auth_token_ = LoginToGoogle("chromiumsync", email_, password);
return IsValid();
}
-
« no previous file with comments | « chromeos/network/network_sms_handler.cc ('k') | content/browser/geolocation/network_location_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698