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

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

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.cc
diff --git a/chrome/browser/sessions/tab_restore_service_helper.cc b/chrome/browser/sessions/tab_restore_service_helper.cc
index a66fbe667a9a8568e91d4429aa4f00cd8d940ec2..7bb9ac15aff0e4ff15710610801be2d66f5537b1 100644
--- a/chrome/browser/sessions/tab_restore_service_helper.cc
+++ b/chrome/browser/sessions/tab_restore_service_helper.cc
@@ -152,7 +152,7 @@ const TabRestoreService::Entries& TabRestoreServiceHelper::entries() const {
std::vector<content::WebContents*>
TabRestoreServiceHelper::RestoreMostRecentEntry(
TabRestoreServiceDelegate* delegate,
- chrome::HostDesktopType host_desktop_type) {
+ ui::HostDesktopType host_desktop_type) {
if (entries_.empty())
return std::vector<WebContents*>();
@@ -178,7 +178,7 @@ TabRestoreService::Tab* TabRestoreServiceHelper::RemoveTabEntryById(
std::vector<content::WebContents*> TabRestoreServiceHelper::RestoreEntryById(
TabRestoreServiceDelegate* delegate,
SessionID::id_type id,
- chrome::HostDesktopType host_desktop_type,
+ ui::HostDesktopType host_desktop_type,
WindowOpenDisposition disposition) {
Entries::iterator entry_iterator = GetEntryIteratorById(id);
if (entry_iterator == entries_.end())
@@ -430,7 +430,7 @@ void TabRestoreServiceHelper::PopulateTab(
TabRestoreServiceDelegate* TabRestoreServiceHelper::RestoreTab(
const Tab& tab,
TabRestoreServiceDelegate* delegate,
- chrome::HostDesktopType host_desktop_type,
+ ui::HostDesktopType host_desktop_type,
WindowOpenDisposition disposition,
WebContents** contents) {
WebContents* web_contents;

Powered by Google App Engine
This is Rietveld 408576698