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

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

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/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index e7ff3f376c580ccadcccfbf7d96858254c6f1e3a..a271437a74c6b864d9eacfe8c755b352e3f82d4d 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -492,20 +492,6 @@ class OffTheRecordProfileImpl : public Profile,
return find_bar_state_.get();
}
- virtual SessionService* GetSessionService() {
- // Don't save any sessions when incognito.
- return NULL;
- }
-
- virtual void ShutdownSessionService() {
- // We don't allow a session service, nothing to do.
- }
-
- virtual bool HasSessionService() const {
- // We never have a session service.
- return false;
- }
-
virtual bool HasProfileSyncService() const {
// We never have a profile sync service.
return false;
@@ -552,13 +538,6 @@ class OffTheRecordProfileImpl : public Profile,
return start_time_;
}
- virtual TabRestoreService* GetTabRestoreService() {
- return NULL;
- }
-
- virtual void ResetTabRestoreService() {
- }
-
virtual SpellCheckHost* GetSpellCheckHost() {
return profile_->GetSpellCheckHost();
}
« no previous file with comments | « chrome/browser/profiles/profile.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698