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

Unified Diff: chrome/browser/ui/signin_view_controller_chromeos.cc

Issue 2785753003: Exclude building signin view controller and its delegate on ChromeOS (Closed)
Patch Set: 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/signin_view_controller_chromeos.cc
diff --git a/chrome/browser/ui/signin_view_controller_chromeos.cc b/chrome/browser/ui/signin_view_controller_chromeos.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e497d20423301b9ef50811ec471d8b7ed1e7eba1
--- /dev/null
+++ b/chrome/browser/ui/signin_view_controller_chromeos.cc
@@ -0,0 +1,47 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/ui/signin_view_controller.h"
+
+#include "base/logging.h"
+// Empty implementation on ChromeOS as this class should not be used on
+// ChromeOS.
+SigninViewController::SigninViewController()
+ : signin_view_controller_delegate_(nullptr) {}
+
+SigninViewController::~SigninViewController() {}
+
+void SigninViewController::ShowModalSignin(
+ profiles::BubbleViewMode mode,
+ Browser* browser,
+ signin_metrics::AccessPoint access_point) {
+ NOTREACHED();
+}
+
+void SigninViewController::ShowModalSyncConfirmationDialog(Browser* browser) {
+ NOTREACHED();
+}
+
+void SigninViewController::ShowModalSigninErrorDialog(Browser* browser) {
+ NOTREACHED();
+}
+
+void SigninViewController::CloseModalSignin() {
+ NOTREACHED();
+}
+
+void SigninViewController::SetModalSigninHeight(int height) {
+ NOTREACHED();
+}
+
+void SigninViewController::ResetModalSigninDelegate() {
+ NOTREACHED();
+}
+
+// static
+bool SigninViewController::ShouldShowModalSigninForMode(
+ profiles::BubbleViewMode mode) {
+ NOTREACHED();
+ return false;
+}
« chrome/browser/ui/signin_view_controller.h ('K') | « chrome/browser/ui/signin_view_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698