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

Side by Side Diff: chrome/browser/ui/signin_view_controller.h

Issue 2785753003: Exclude building signin view controller and its delegate on ChromeOS (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/signin_view_controller_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/profile_chooser_constants.h" 9 #include "chrome/browser/ui/profile_chooser_constants.h"
10 10
11 class Browser; 11 class Browser;
12 class SigninViewControllerDelegate; 12 class SigninViewControllerDelegate;
13 13
14 namespace signin_metrics { 14 namespace signin_metrics {
15 enum class AccessPoint; 15 enum class AccessPoint;
16 } 16 }
17 17
18 // Class responsible for showing and hiding the Signin and Sync Confirmation 18 // Class responsible for showing and hiding the Signin and Sync Confirmation
19 // tab-modal dialogs. 19 // tab-modal dialogs.
20 //
21 // Note: This class only exists on Desktop platforms (it does not exist on
22 // mobile or ChromeOS)
Peter Kasting 2017/03/29 19:39:31 Nit: Since CrOS is a desktop platform, this is a b
msarda 2017/03/30 11:54:11 I excluded this file on ChromeOS entirely and remo
20 class SigninViewController { 23 class SigninViewController {
21 public: 24 public:
22 SigninViewController(); 25 SigninViewController();
23 virtual ~SigninViewController(); 26 virtual ~SigninViewController();
24 27
25 // Returns true if the signin flow should be shown as tab-modal for |mode|. 28 // Returns true if the signin flow should be shown as tab-modal for |mode|.
26 static bool ShouldShowModalSigninForMode(profiles::BubbleViewMode mode); 29 static bool ShouldShowModalSigninForMode(profiles::BubbleViewMode mode);
27 30
28 // Shows the signin flow as a tab modal dialog attached to |browser|'s active 31 // Shows the signin flow as a tab modal dialog attached to |browser|'s active
29 // web contents. 32 // web contents.
(...skipping 20 matching lines...) Expand all
50 return signin_view_controller_delegate_; 53 return signin_view_controller_delegate_;
51 } 54 }
52 55
53 private: 56 private:
54 SigninViewControllerDelegate* signin_view_controller_delegate_; 57 SigninViewControllerDelegate* signin_view_controller_delegate_;
55 58
56 DISALLOW_COPY_AND_ASSIGN(SigninViewController); 59 DISALLOW_COPY_AND_ASSIGN(SigninViewController);
57 }; 60 };
58 61
59 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_ 62 #endif // CHROME_BROWSER_UI_SIGNIN_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/signin_view_controller_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698