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

Unified Diff: chrome/common/net/gaia/oauth2_mint_token_flow.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 | « chrome/common/extensions/message_bundle.cc ('k') | chrome/installer/util/google_chrome_distribution.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/oauth2_mint_token_flow.cc
diff --git a/chrome/common/net/gaia/oauth2_mint_token_flow.cc b/chrome/common/net/gaia/oauth2_mint_token_flow.cc
index 511b8b4c3f44f8da30e91b3ad73f641e983f85fd..285cd2b454550956a2f8f5c618b181abe1063c69 100644
--- a/chrome/common/net/gaia/oauth2_mint_token_flow.cc
+++ b/chrome/common/net/gaia/oauth2_mint_token_flow.cc
@@ -227,11 +227,11 @@ bool OAuth2MintTokenFlow::ParseIssueAdviceResponse(
CHECK(dict);
CHECK(issue_advice);
- base::DictionaryValue* consent_dict = NULL;
+ const base::DictionaryValue* consent_dict = NULL;
if (!dict->GetDictionary(kConsentKey, &consent_dict))
return false;
- base::ListValue* scopes_list = NULL;
+ const base::ListValue* scopes_list = NULL;
if (!consent_dict->GetList(kScopesKey, &scopes_list))
return false;
« no previous file with comments | « chrome/common/extensions/message_bundle.cc ('k') | chrome/installer/util/google_chrome_distribution.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698