summaryrefslogtreecommitdiffstats
path: root/cloud_print
diff options
context:
space:
mode:
authorvabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 22:27:11 +0000
committervabr@chromium.org <vabr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 22:27:11 +0000
commita61890ebc4d1d6f558edfe8a03ba6a6c72a16689 (patch)
treedc8768892744a98ba9386583a1d27fa575e72a15 /cloud_print
parentb39a8db3e8e31029e98075863a38f8c3b188529c (diff)
downloadchromium_src-a61890ebc4d1d6f558edfe8a03ba6a6c72a16689.zip
chromium_src-a61890ebc4d1d6f558edfe8a03ba6a6c72a16689.tar.gz
chromium_src-a61890ebc4d1d6f558edfe8a03ba6a6c72a16689.tar.bz2
Correct const accessors in base/values.(h|cc)
For problem description and other info please see the BUG page. This is for DictionaryValue. BUG=138946 TEST=N/A (no fix & no new feature) TBR=jar scottbyer achuith agl mnissler davemoore garykac akalin hans bulach phajdan.jr jamesr Review URL: https://chromiumcodereview.appspot.com/10834004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
-rw-r--r--cloud_print/service/service_state.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cloud_print/service/service_state.cc b/cloud_print/service/service_state.cc
index a07f8f2..8007db3 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();
}
-