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

Unified Diff: chrome/browser/background/background_contents_service_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/background/background_contents_service_factory.h
diff --git a/chrome/browser/background/background_contents_service_factory.h b/chrome/browser/background/background_contents_service_factory.h
index 6abdc3eda95da46f25ea15efa7d459a345a8b1ec..2c77ba9c3ee9556a8e6b6b290ee300fb8971824c 100644
--- a/chrome/browser/background/background_contents_service_factory.h
+++ b/chrome/browser/background/background_contents_service_factory.h
@@ -10,7 +10,7 @@
#include "chrome/browser/profiles/profile_keyed_service_factory.h"
class BackgroundContentsService;
-class PrefServiceSyncable;
+class PrefRegistrySyncable;
class Profile;
// Singleton that owns all BackgroundContentsServices and associates them with
@@ -31,7 +31,7 @@ class BackgroundContentsServiceFactory : public ProfileKeyedServiceFactory {
// ProfileKeyedServiceFactory:
virtual ProfileKeyedService* BuildServiceInstanceFor(
Profile* profile) const OVERRIDE;
- virtual void RegisterUserPrefs(PrefServiceSyncable* user_prefs) OVERRIDE;
+ virtual void RegisterUserPrefs(PrefRegistrySyncable* registry) OVERRIDE;
// Use a separate background contents service for incognito.
virtual bool ServiceHasOwnInstanceInIncognito() const OVERRIDE;
virtual bool ServiceIsCreatedWithProfile() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698