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

Unified Diff: chrome/browser/profiles/profile.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.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index b79e00b60bf8161f31e32c8b0ec55bb661cf22cd..c6a70d107480a0f46c8d9abb44e5a30e40c9b610 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -380,7 +380,8 @@ class Profile : public content::BrowserContext {
virtual FindBarState* GetFindBarState() = 0;
// Returns true if this profile has a profile sync service.
- virtual bool HasProfileSyncService() const = 0;
+ // TODO(tim): Bug 93922 - remove this.
+ virtual bool HasProfileSyncService() = 0;
Andrew T Wilson (Slow) 2012/01/17 20:25:41 Why is this no longer const? Not a huge deal since
tim (not reviewing) 2012/01/17 23:44:17 Because it now uses GetServiceForProfile, which ta
// Returns true if the last time this profile was open it was exited cleanly.
virtual bool DidLastSessionExitCleanly() = 0;
@@ -398,6 +399,7 @@ class Profile : public content::BrowserContext {
virtual TokenService* GetTokenService() = 0;
// Returns the ProfileSyncService, creating if not yet created.
+ // TODO(tim): Bug 93922 - remove this.
virtual ProfileSyncService* GetProfileSyncService() = 0;
// Return whether 2 profiles are the same. 2 profiles are the same if they

Powered by Google App Engine
This is Rietveld 408576698