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

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

Issue 11741003: Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 7 years, 11 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 b895ee76b495c83e0e625fce8159bc6b212d173b..d95dd54c299861c31dd697c68f0014da2e49bbbb 100644
--- a/chrome/browser/geolocation/chrome_access_token_store.cc
+++ b/chrome/browser/geolocation/chrome_access_token_store.cc
@@ -9,6 +9,7 @@
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "chrome/browser/browser_process.h"
+#include "chrome/browser/prefs/pref_registry_simple.h"
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/prefs/scoped_user_pref_update.h"
#include "chrome/common/pref_names.h"
@@ -98,7 +99,7 @@ class TokenLoadingJob : public base::RefCountedThreadSafe<TokenLoadingJob> {
} // namespace
-void ChromeAccessTokenStore::RegisterPrefs(PrefServiceSimple* prefs) {
+void ChromeAccessTokenStore::RegisterPrefs(PrefRegistrySimple* prefs) {
prefs->RegisterDictionaryPref(prefs::kGeolocationAccessToken);
}

Powered by Google App Engine
This is Rietveld 408576698