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

Unified Diff: chrome/browser/ui/webui/options/options_handlers_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/ui/webui/options/options_handlers_helper.cc
diff --git a/chrome/browser/ui/webui/options/options_handlers_helper.cc b/chrome/browser/ui/webui/options/options_handlers_helper.cc
index 3f06176a77e2bc58530485abaa218fc6023ea057..eac67bc61ababc5f898662fb12f3ed1156452bf1 100644
--- a/chrome/browser/ui/webui/options/options_handlers_helper.cc
+++ b/chrome/browser/ui/webui/options/options_handlers_helper.cc
@@ -17,7 +17,7 @@
namespace options {
namespace helper {
-chrome::HostDesktopType GetDesktopType(content::WebUI* web_ui) {
+ui::HostDesktopType GetDesktopType(content::WebUI* web_ui) {
DCHECK(web_ui);
content::WebContents* web_contents = web_ui->GetWebContents();
Browser* browser = chrome::FindBrowserWithWebContents(web_contents);
@@ -35,7 +35,7 @@ chrome::HostDesktopType GetDesktopType(content::WebUI* web_ui) {
return chrome::GetActiveDesktop();
}
-void OpenNewWindowForProfile(chrome::HostDesktopType desktop_type,
+void OpenNewWindowForProfile(ui::HostDesktopType desktop_type,
Profile* profile,
Profile::CreateStatus status) {
if (status != Profile::CREATE_STATUS_INITIALIZED)

Powered by Google App Engine
This is Rietveld 408576698