Remove HostDesktopType from Browser::CreateParams
[email protected]
BUG=558054
Review URL: https://codereview.chromium.org/1662783002
Cr-Commit-Position: refs/heads/master@{#374431}
diff --git a/chrome/browser/ui/browser_commands.h b/chrome/browser/ui/browser_commands.h
index e668084..7c045cd5 100644
--- a/chrome/browser/ui/browser_commands.h
+++ b/chrome/browser/ui/browser_commands.h
@@ -42,22 +42,20 @@
int GetContentRestrictions(const Browser* browser);
// Opens a new window with the default blank tab.
-void NewEmptyWindow(Profile* profile, HostDesktopType desktop_type);
+void NewEmptyWindow(Profile* profile);
// Opens a new window with the default blank tab. This bypasses metrics and
// various internal bookkeeping; NewEmptyWindow (above) is preferred.
-Browser* OpenEmptyWindow(Profile* profile, HostDesktopType desktop_type);
+Browser* OpenEmptyWindow(Profile* profile);
// Opens a new window with the tabs from |profile|'s TabRestoreService.
void OpenWindowWithRestoredTabs(Profile* profile,
HostDesktopType host_desktop_type);
-// Opens the specified URL in a new browser window in an incognito session on
-// the desktop specified by |desktop_type|. If there is already an existing
-// active incognito session for the specified |profile|, that session is re-
-// used.
-void OpenURLOffTheRecord(Profile* profile, const GURL& url,
- chrome::HostDesktopType desktop_type);
+// Opens the specified URL in a new browser window in an incognito session. If
+// there is already an existing active incognito session for the specified
+// |profile|, that session is re- used.
+void OpenURLOffTheRecord(Profile* profile, const GURL& url);
bool CanGoBack(const Browser* browser);
void GoBack(Browser* browser, WindowOpenDisposition disposition);