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

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

Issue 12079097: Introduce PrefRegistrySyncable, simplifying PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to PrefRegistrySyncable and PrefServiceSyncable to let sync know of pre-registered prefs. Created 7 years, 10 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.h
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
index b928fe605909e85cc603df6f3644b8c23b3ac1b7..3ab4289e79acbfb8b0e7f2407be0aa132fe87719 100644
--- a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
@@ -11,6 +11,7 @@
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class ChromeGeolocationPermissionContext;
+class PrefRegistrySyncable;
class Profile;
class ChromeGeolocationPermissionContextFactory
@@ -30,7 +31,7 @@ class ChromeGeolocationPermissionContextFactory
// |ProfileKeyedBaseFactory| methods:
virtual ProfileKeyedService*
BuildServiceInstanceFor(Profile* profile) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefServiceSyncable* user_prefs) OVERRIDE;
+ virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) OVERRIDE;
virtual bool ServiceRedirectedInIncognito() const OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ChromeGeolocationPermissionContextFactory);

Powered by Google App Engine
This is Rietveld 408576698