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