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

Unified Diff: chrome/browser/ui/webui/signin/signin_utils.cc

Issue 2785753003: Exclude building signin view controller and its delegate on ChromeOS (Closed)
Patch Set: Exclude SigninViewController on ChromeOS Created 3 years, 9 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/signin/signin_utils.cc
diff --git a/chrome/browser/ui/webui/signin/signin_utils.cc b/chrome/browser/ui/webui/signin/signin_utils.cc
index 953bdb5a8563e27038eb61122ce4153a42578919..75f44599cf282bffe5e1bed30548fe016b71250c 100644
--- a/chrome/browser/ui/webui/signin/signin_utils.cc
+++ b/chrome/browser/ui/webui/signin/signin_utils.cc
@@ -67,6 +67,9 @@ Browser* GetDesktopBrowser(content::WebUI* web_ui) {
void SetInitializedModalHeight(content::WebUI* web_ui,
const base::ListValue* args) {
+#if defined(OS_CHROMEOS)
+ NOTREACHED();
+#else
double height;
const bool success = args->GetDouble(0, &height);
DCHECK(success);
@@ -76,6 +79,7 @@ void SetInitializedModalHeight(content::WebUI* web_ui,
browser->signin_view_controller()->SetModalSigninHeight(
static_cast<int>(height));
}
+#endif
}
bool IsForceSigninEnabled() {
« no previous file with comments | « chrome/browser/ui/webui/signin/signin_error_handler.cc ('k') | chrome/browser/ui/webui/signin/sync_confirmation_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698