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

Unified Diff: chrome/browser/sessions/tab_restore_service_factory.cc

Issue 10989027: Split TabRestoreService into InMemoryTRS and PersistentTRS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GYP out InMemoryTRS on non-Android and fix incorrect comments Created 8 years, 2 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/sessions/tab_restore_service_factory.cc
diff --git a/chrome/browser/sessions/tab_restore_service_factory.cc b/chrome/browser/sessions/tab_restore_service_factory.cc
index e575cfe4528589f4d8a5973f6ea828efe77183f9..a0ad156bb231eb6448bc67da56615dccc0a24f50 100644
--- a/chrome/browser/sessions/tab_restore_service_factory.cc
+++ b/chrome/browser/sessions/tab_restore_service_factory.cc
@@ -39,13 +39,6 @@ TabRestoreServiceFactory::TabRestoreServiceFactory()
TabRestoreServiceFactory::~TabRestoreServiceFactory() {
}
-ProfileKeyedService* TabRestoreServiceFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- TabRestoreService* service = NULL;
- service = new TabRestoreService(profile);
- return service;
-}
-
bool TabRestoreServiceFactory::ServiceIsNULLWhileTesting() const {
return true;
}
« no previous file with comments | « chrome/browser/sessions/tab_restore_service_browsertest.cc ('k') | chrome/browser/sessions/tab_restore_service_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698