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

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

Issue 6901031: Profile shouldn't own Session/TabRestore services. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase again and hope upload works this time Created 9 years, 8 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
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index a3b2a6e99f06ce43cf85253f7ae32354a2315826..a41c3bb0687b6747b9a099af2e0f4d4e3f0f3dd1 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -84,10 +84,8 @@ class ProtocolHandlerRegistry;
class SQLitePersistentCookieStore;
class SSLConfigServiceManager;
class SSLHostState;
-class SessionService;
class SpellCheckHost;
class StatusTray;
-class TabRestoreService;
class TemplateURLFetcher;
class TemplateURLModel;
class TokenService;
@@ -400,24 +398,6 @@ class Profile {
// created the first time that this method is called.
virtual FindBarState* GetFindBarState() = 0;
- // Returns the session service for this profile. This may return NULL. If
- // this profile supports a session service (it isn't incognito), and
- // the session service hasn't yet been created, this forces creation of
- // the session service.
- //
- // This returns NULL in two situations: the profile is incognito, or the
- // session service has been explicitly shutdown (browser is exiting). Callers
- // should always check the return value for NULL.
- virtual SessionService* GetSessionService() = 0;
-
- // If this profile has a session service, it is shut down. To properly record
- // the current state this forces creation of the session service, then shuts
- // it down.
- virtual void ShutdownSessionService() = 0;
-
- // Returns true if this profile has a session service.
- virtual bool HasSessionService() const = 0;
-
// Returns true if this profile has a profile sync service.
virtual bool HasProfileSyncService() const = 0;
@@ -456,11 +436,6 @@ class Profile {
// the user started chrome.
virtual base::Time GetStartTime() const = 0;
- // Returns the TabRestoreService. This returns NULL when incognito.
- virtual TabRestoreService* GetTabRestoreService() = 0;
-
- virtual void ResetTabRestoreService() = 0;
-
// May return NULL.
virtual SpellCheckHost* GetSpellCheckHost() = 0;
« no previous file with comments | « chrome/browser/jumplist_win.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698