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

Unified Diff: chrome/browser/ui/cocoa/handoff_active_url_observer.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/ui/cocoa/handoff_active_url_observer.cc
diff --git a/chrome/browser/ui/cocoa/handoff_active_url_observer.cc b/chrome/browser/ui/cocoa/handoff_active_url_observer.cc
index 592a757408ab6233c7904badf30ee0b32485b2d2..e88af97f2e5494161f07f131539bc64586f2bbfd 100644
--- a/chrome/browser/ui/cocoa/handoff_active_url_observer.cc
+++ b/chrome/browser/ui/cocoa/handoff_active_url_observer.cc
@@ -18,8 +18,8 @@ HandoffActiveURLObserver::HandoffActiveURLObserver(
active_browser_(nullptr) {
DCHECK(delegate_);
- active_browser_ = chrome::FindLastActiveWithHostDesktopType(
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ active_browser_ =
+ chrome::FindLastActiveWithHostDesktopType(ui::HOST_DESKTOP_TYPE_NATIVE);
BrowserList::AddObserver(this);
UpdateObservations();
}
@@ -40,8 +40,8 @@ void HandoffActiveURLObserver::OnBrowserRemoved(Browser* removed_browser) {
if (active_browser_ != removed_browser)
return;
- active_browser_ = chrome::FindLastActiveWithHostDesktopType(
- chrome::HOST_DESKTOP_TYPE_NATIVE);
+ active_browser_ =
+ chrome::FindLastActiveWithHostDesktopType(ui::HOST_DESKTOP_TYPE_NATIVE);
UpdateObservations();
delegate_->HandoffActiveURLChanged(GetActiveWebContents());
}

Powered by Google App Engine
This is Rietveld 408576698