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

Unified Diff: chrome/browser/chrome_webusb_browser_client.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/chrome_webusb_browser_client.cc
diff --git a/chrome/browser/chrome_webusb_browser_client.cc b/chrome/browser/chrome_webusb_browser_client.cc
index 458c3f7a632e5589e7cfa21371e53c93c39431cf..fdb35d12c47d9672c0278e97e2b89033efe185e4 100644
--- a/chrome/browser/chrome_webusb_browser_client.cc
+++ b/chrome/browser/chrome_webusb_browser_client.cc
@@ -27,7 +27,7 @@ const char kWebUsbDetectorNotificationID[] = "webusb.detector";
void OpenURL(const GURL& url) {
Browser* browser = chrome::FindBrowserWithProfile(
- ProfileManager::GetActiveUserProfile(), chrome::HOST_DESKTOP_TYPE_NATIVE);
+ ProfileManager::GetActiveUserProfile(), ui::HOST_DESKTOP_TYPE_NATIVE);
content::OpenURLParams params(url, content::Referrer(), NEW_FOREGROUND_TAB,
ui::PAGE_TRANSITION_AUTO_TOPLEVEL, true);
browser->OpenURL(params);

Powered by Google App Engine
This is Rietveld 408576698