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

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

Issue 14622003: components: Move PrefRegistrySyncable into user_prefs namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 8 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_geolocation_permission_context_factory.cc
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
index 5208e72dd7ef7f647cc83f40be67d03198a8e762..04d1db3dc99e8cd56a8d4a410f0a80ab7e3a9339 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.cc
@@ -74,11 +74,12 @@ ChromeGeolocationPermissionContextFactory::BuildServiceInstanceFor(
}
void ChromeGeolocationPermissionContextFactory::RegisterUserPrefs(
- PrefRegistrySyncable* registry) {
+ user_prefs::PrefRegistrySyncable* registry) {
#if defined(OS_ANDROID)
- registry->RegisterBooleanPref(prefs::kGeolocationEnabled,
- true,
- PrefRegistrySyncable::UNSYNCABLE_PREF);
+ registry->RegisterBooleanPref(
+ prefs::kGeolocationEnabled,
+ true,
+ user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
#endif
}

Powered by Google App Engine
This is Rietveld 408576698