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

Unified Diff: chrome/browser/ui/browser_commands.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
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/browser_live_tab_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 6b80e387fa4c16198ca808cacb3ba19b4536e9a6..d718bdab2415d9a3d3e952fbc06b7b8e347ee99b 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -364,12 +364,11 @@ Browser* OpenEmptyWindow(Profile* profile) {
return browser;
}
-void OpenWindowWithRestoredTabs(Profile* profile,
- HostDesktopType host_desktop_type) {
+void OpenWindowWithRestoredTabs(Profile* profile) {
sessions::TabRestoreService* service =
TabRestoreServiceFactory::GetForProfile(profile);
if (service)
- service->RestoreMostRecentEntry(NULL, host_desktop_type);
+ service->RestoreMostRecentEntry(nullptr);
}
void OpenURLOffTheRecord(Profile* profile,
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/browser_live_tab_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698