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

Unified Diff: components/sessions/core/persistent_tab_restore_service.cc

Issue 1697183003: Remove HostDesktopType from sessions and tab restore (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-19
Patch Set: mac Created 4 years, 10 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: components/sessions/core/persistent_tab_restore_service.cc
diff --git a/components/sessions/core/persistent_tab_restore_service.cc b/components/sessions/core/persistent_tab_restore_service.cc
index d639e019893e251e9ce9df26bb9262a56fc37098..283a6708b34f809355556604aaf0c129af0895fc 100644
--- a/components/sessions/core/persistent_tab_restore_service.cc
+++ b/components/sessions/core/persistent_tab_restore_service.cc
@@ -948,9 +948,8 @@ const TabRestoreService::Entries& PersistentTabRestoreService::entries() const {
}
std::vector<LiveTab*> PersistentTabRestoreService::RestoreMostRecentEntry(
- LiveTabContext* context,
- int host_desktop_type) {
- return helper_.RestoreMostRecentEntry(context, host_desktop_type);
+ LiveTabContext* context) {
+ return helper_.RestoreMostRecentEntry(context);
}
TabRestoreService::Tab* PersistentTabRestoreService::RemoveTabEntryById(
@@ -961,9 +960,8 @@ TabRestoreService::Tab* PersistentTabRestoreService::RemoveTabEntryById(
std::vector<LiveTab*> PersistentTabRestoreService::RestoreEntryById(
LiveTabContext* context,
SessionID::id_type id,
- int host_desktop_type,
WindowOpenDisposition disposition) {
- return helper_.RestoreEntryById(context, id, host_desktop_type, disposition);
+ return helper_.RestoreEntryById(context, id, disposition);
}
bool PersistentTabRestoreService::IsLoaded() const {
« no previous file with comments | « components/sessions/core/persistent_tab_restore_service.h ('k') | components/sessions/core/tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698