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

Unified Diff: chrome/browser/sessions/in_memory_tab_restore_service.h

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/in_memory_tab_restore_service.h
diff --git a/chrome/browser/sessions/in_memory_tab_restore_service.h b/chrome/browser/sessions/in_memory_tab_restore_service.h
index 4bcf1edf94479f511afe51bc30ba71f9e4885ac8..59cbc7287c996486355b1a454557d08820149475 100644
--- a/chrome/browser/sessions/in_memory_tab_restore_service.h
+++ b/chrome/browser/sessions/in_memory_tab_restore_service.h
@@ -26,7 +26,6 @@ class InMemoryTabRestoreService : public TabRestoreService {
// current time. The TabRestoreService does not take ownership of
// |time_factory|.
InMemoryTabRestoreService(
- Profile* profile,
scoped_ptr<sessions::TabRestoreServiceClient> client,
TimeFactory* time_factory);
@@ -42,12 +41,12 @@ class InMemoryTabRestoreService : public TabRestoreService {
const Entries& entries() const override;
std::vector<content::WebContents*> RestoreMostRecentEntry(
TabRestoreServiceDelegate* delegate,
- chrome::HostDesktopType host_desktop_type) override;
+ int host_desktop_type) override;
Tab* RemoveTabEntryById(SessionID::id_type id) override;
std::vector<content::WebContents*> RestoreEntryById(
TabRestoreServiceDelegate* delegate,
SessionID::id_type id,
- chrome::HostDesktopType host_desktop_type,
+ int host_desktop_type,
WindowOpenDisposition disposition) override;
void LoadTabsFromLastSession() override;
bool IsLoaded() const override;
« no previous file with comments | « chrome/browser/sessions/chrome_tab_restore_service_client.cc ('k') | chrome/browser/sessions/in_memory_tab_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698