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

Unified Diff: chrome/browser/background/background_contents_service_factory.h

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head again, previous had unrelated broken win_rel test. Created 8 years 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 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;
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/background/background_contents_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698