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

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

Issue 1336823003: Move chrome::HostDesktopType to ui::HostDesktopType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@base_session_service_delegate_impl
Patch Set: Fix build on Mac and CrOS 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/tab_restore_service_helper.h
diff --git a/chrome/browser/sessions/tab_restore_service_helper.h b/chrome/browser/sessions/tab_restore_service_helper.h
index 56f8d1302fa310113cb8b98501875278436fafa0..155756e64fcc11dc69f27f3774ae6a07b73b8e54 100644
--- a/chrome/browser/sessions/tab_restore_service_helper.h
+++ b/chrome/browser/sessions/tab_restore_service_helper.h
@@ -87,12 +87,12 @@ class TabRestoreServiceHelper {
const Entries& entries() const;
std::vector<content::WebContents*> RestoreMostRecentEntry(
TabRestoreServiceDelegate* delegate,
- chrome::HostDesktopType host_desktop_type);
+ ui::HostDesktopType host_desktop_type);
Tab* RemoveTabEntryById(SessionID::id_type id);
std::vector<content::WebContents*> RestoreEntryById(
TabRestoreServiceDelegate* delegate,
SessionID::id_type id,
- chrome::HostDesktopType host_desktop_type,
+ ui::HostDesktopType host_desktop_type,
WindowOpenDisposition disposition);
// Notifies observers the tabs have changed.
@@ -138,12 +138,11 @@ class TabRestoreServiceHelper {
// created for this tab, it will be created on the desktop specified by
// |host_desktop_type|. If present, |contents| will be populated with the
// WebContents of the restored tab.
- TabRestoreServiceDelegate* RestoreTab(
- const Tab& tab,
- TabRestoreServiceDelegate* delegate,
- chrome::HostDesktopType host_desktop_type,
- WindowOpenDisposition disposition,
- content::WebContents** contents);
+ TabRestoreServiceDelegate* RestoreTab(const Tab& tab,
+ TabRestoreServiceDelegate* delegate,
+ ui::HostDesktopType host_desktop_type,
+ WindowOpenDisposition disposition,
+ content::WebContents** contents);
// Returns true if |tab| has more than one navigation. If |tab| has more
// than one navigation |tab->current_navigation_index| is constrained based

Powered by Google App Engine
This is Rietveld 408576698