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

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

Issue 104493005: Update some uses of Value in chrome/browser to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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/browser/first_run/first_run.cc ('k') | chrome/browser/guestview/adview/adview_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1db095d4f1a41779e333a00c8d8dd8a9c05e1888..8b72425af9607c73e5a9206565c25422161a0011 100644
--- a/chrome/browser/geolocation/chrome_access_token_store.cc
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc
@@ -62,12 +62,12 @@ class TokenLoadingJob : public base::RefCountedThreadSafe<TokenLoadingJob> {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DictionaryPrefUpdate update(g_browser_process->local_state(),
prefs::kGeolocationAccessToken);
- DictionaryValue* token_dictionary = update.Get();
+ base::DictionaryValue* token_dictionary = update.Get();
std::vector<std::string> providers_to_remove;
// The dictionary value could be NULL if the pref has never been set.
if (token_dictionary != NULL) {
- for (DictionaryValue::Iterator it(*token_dictionary); !it.IsAtEnd();
+ for (base::DictionaryValue::Iterator it(*token_dictionary); !it.IsAtEnd();
it.Advance()) {
GURL url(it.key());
if (!url.is_valid())
@@ -117,9 +117,9 @@ static void SetAccessTokenOnUIThread(const GURL& server_url,
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
DictionaryPrefUpdate update(g_browser_process->local_state(),
prefs::kGeolocationAccessToken);
- DictionaryValue* access_token_dictionary = update.Get();
+ base::DictionaryValue* access_token_dictionary = update.Get();
access_token_dictionary->SetWithoutPathExpansion(
- server_url.spec(), Value::CreateStringValue(token));
+ server_url.spec(), base::Value::CreateStringValue(token));
}
void ChromeAccessTokenStore::SaveAccessToken(
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/guestview/adview/adview_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698