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

Unified Diff: chrome/browser/profiles/profile_impl.h

Issue 9232011: sync: Make ProfileSyncService a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: init Created 8 years, 11 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/profiles/profile_impl.h
diff --git a/chrome/browser/profiles/profile_impl.h b/chrome/browser/profiles/profile_impl.h
index 1879aacfc18c376f664370deb1d767a5f29e184c..8f6247de578b9fbe239481af345cdcd35ee02f70 100644
--- a/chrome/browser/profiles/profile_impl.h
+++ b/chrome/browser/profiles/profile_impl.h
@@ -25,7 +25,7 @@ class ExtensionPrefs;
class ExtensionPrefValueMap;
class NetPrefObserver;
class PrefService;
-class ProfileSyncComponentsFactory;
+class ProfileSyncService;
class PromoResourceService;
class SpeechInputPreferences;
class SpellCheckProfile;
@@ -111,7 +111,7 @@ class ProfileImpl : public Profile,
virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE;
virtual FindBarState* GetFindBarState() OVERRIDE;
- virtual bool HasProfileSyncService() const OVERRIDE;
+ virtual bool HasProfileSyncService() OVERRIDE;
virtual bool DidLastSessionExitCleanly() OVERRIDE;
virtual BookmarkModel* GetBookmarkModel() OVERRIDE;
virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
@@ -128,7 +128,6 @@ class ProfileImpl : public Profile,
virtual ProfileSyncService* GetProfileSyncService() OVERRIDE;
virtual SigninManager* GetSigninManager() OVERRIDE;
virtual TokenService* GetTokenService() OVERRIDE;
- void InitSyncService();
virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE;
virtual PromoCounter* GetInstantPromoCounter() OVERRIDE;
virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE;
@@ -248,8 +247,6 @@ class ProfileImpl : public Profile,
scoped_ptr<SigninManager> signin_manager_;
scoped_ptr<TokenService> token_service_;
- scoped_ptr<ProfileSyncComponentsFactory> profile_sync_factory_;
- scoped_ptr<ProfileSyncService> sync_service_;
scoped_ptr<SSLConfigServiceManager> ssl_config_service_manager_;
@@ -270,7 +267,6 @@ class ProfileImpl : public Profile,
scoped_refptr<WebKitContext> webkit_context_;
scoped_refptr<fileapi::FileSystemContext> file_system_context_;
scoped_refptr<quota::QuotaManager> quota_manager_;
- bool profile_sync_service_created_;
bool history_service_created_;
bool favicon_service_created_;
bool created_web_data_service_;

Powered by Google App Engine
This is Rietveld 408576698