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

Unified Diff: chrome/browser/sync/profile_sync_service_factory.h

Issue 15517005: Remove references to Profile from browser_context_keyed_service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & style Created 7 years, 7 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/sync/profile_sync_service_factory.h
diff --git a/chrome/browser/sync/profile_sync_service_factory.h b/chrome/browser/sync/profile_sync_service_factory.h
index f632f0461e04b7b14e4e940cec667a309dee92cf..0ad8c2a79fbce39a8b8aa3799e9e1f913b1d7bb0 100644
--- a/chrome/browser/sync/profile_sync_service_factory.h
+++ b/chrome/browser/sync/profile_sync_service_factory.h
@@ -12,7 +12,7 @@
class Profile;
class ProfileSyncService;
-class ProfileSyncServiceFactory : public ProfileKeyedServiceFactory {
+class ProfileSyncServiceFactory : public BrowserContextKeyedServiceFactory {
public:
static ProfileSyncService* GetForProfile(Profile* profile);
static bool HasProfileSyncService(Profile* profile);
@@ -25,8 +25,8 @@ class ProfileSyncServiceFactory : public ProfileKeyedServiceFactory {
ProfileSyncServiceFactory();
virtual ~ProfileSyncServiceFactory();
- // ProfileKeyedServiceFactory:
- virtual ProfileKeyedService* BuildServiceInstanceFor(
+ // BrowserContextKeyedServiceFactory:
+ virtual BrowserContextKeyedService* BuildServiceInstanceFor(
content::BrowserContext* context) const OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698