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

Unified Diff: chrome/browser/ui/browser_live_tab_context.h

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.cc ('k') | chrome/browser/ui/browser_live_tab_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_live_tab_context.h
diff --git a/chrome/browser/ui/browser_live_tab_context.h b/chrome/browser/ui/browser_live_tab_context.h
index bb2f67fb3bc3f427d45544c3d9e8c900bf0dbb70..c92b4e0d3a96c96becb986ecdfd9ba911b7d21bb 100644
--- a/chrome/browser/ui/browser_live_tab_context.h
+++ b/chrome/browser/ui/browser_live_tab_context.h
@@ -10,7 +10,6 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "chrome/browser/ui/host_desktop.h"
#include "components/sessions/core/live_tab_context.h"
class Browser;
@@ -58,7 +57,6 @@ class BrowserLiveTabContext : public sessions::LiveTabContext {
// see Browser::Create
static sessions::LiveTabContext* Create(
Profile* profile,
- chrome::HostDesktopType host_desktop_type,
const std::string& app_name);
// see browser::FindBrowserForWebContents
@@ -67,10 +65,9 @@ class BrowserLiveTabContext : public sessions::LiveTabContext {
// see chrome::FindBrowserWithID
// Returns the LiveTabContext of the Browser with |desired_id| if
- // such a Browser exists and is on the desktop defined by |host_desktop_type|.
+ // such a Browser exists.
static sessions::LiveTabContext* FindContextWithID(
- SessionID::id_type desired_id,
- chrome::HostDesktopType host_desktop_type);
+ SessionID::id_type desired_id);
private:
Browser* browser_;
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/browser_live_tab_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698