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

Unified Diff: chrome/browser/geolocation/chrome_access_token_store.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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/geolocation/chrome_access_token_store.cc
diff --git a/chrome/browser/geolocation/chrome_access_token_store.cc b/chrome/browser/geolocation/chrome_access_token_store.cc
index 41b3bac94c29140b38849ba3f140f11170150435..0aaa83019d32c284ef49fd64d5a651bccfadb5ab 100644
--- a/chrome/browser/geolocation/chrome_access_token_store.cc
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc
@@ -118,8 +118,8 @@ static void SetAccessTokenOnUIThread(const GURL& server_url,
DictionaryPrefUpdate update(g_browser_process->local_state(),
prefs::kGeolocationAccessToken);
base::DictionaryValue* access_token_dictionary = update.Get();
- access_token_dictionary->SetWithoutPathExpansion(
- server_url.spec(), new base::StringValue(token));
+ access_token_dictionary->SetWithoutPathExpansion(server_url.spec(),
+ new base::Value(token));
}
void ChromeAccessTokenStore::SaveAccessToken(

Powered by Google App Engine
This is Rietveld 408576698