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

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

Issue 1342743002: Remove Profile and HostDesktopType dependencies from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac Created 5 years, 3 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/persistent_tab_restore_service_unittest.cc
diff --git a/chrome/browser/sessions/persistent_tab_restore_service_unittest.cc b/chrome/browser/sessions/persistent_tab_restore_service_unittest.cc
index 8b0054f53186360f8baf7993b709c8802595b004..2ad0575781e70a3f5607caabd3514b4eb867a280 100644
--- a/chrome/browser/sessions/persistent_tab_restore_service_unittest.cc
+++ b/chrome/browser/sessions/persistent_tab_restore_service_unittest.cc
@@ -81,7 +81,6 @@ class PersistentTabRestoreServiceTest : public ChromeRenderViewHostTestHarness {
ChromeRenderViewHostTestHarness::SetUp();
time_factory_ = new PersistentTabRestoreTimeFactory();
service_.reset(new PersistentTabRestoreService(
- profile(),
make_scoped_ptr(new ChromeTabRestoreServiceClient(profile())),
time_factory_));
}
@@ -122,7 +121,6 @@ class PersistentTabRestoreServiceTest : public ChromeRenderViewHostTestHarness {
content::RunAllBlockingPoolTasksUntilIdle();
service_.reset();
service_.reset(new PersistentTabRestoreService(
- profile(),
make_scoped_ptr(new ChromeTabRestoreServiceClient(profile())),
time_factory_));
SynchronousLoadTabsFromLastSession();
« no previous file with comments | « chrome/browser/sessions/persistent_tab_restore_service.cc ('k') | chrome/browser/sessions/tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698