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

Side by Side Diff: chrome/browser/chromeos/login/screens/gaia_view.h

Issue 2713513009: cros: Break BaseScreenHandler into two classes. (Closed)
Patch Set: Add comments, fix compile 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_CHROMEOS_LOGIN_SCREENS_GAIA_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_GAIA_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_GAIA_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_GAIA_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "chrome/browser/chromeos/login/oobe_screen.h"
13 14
14 namespace chromeos { 15 namespace chromeos {
15 16
16 class GaiaView { 17 class GaiaView {
17 public: 18 public:
19 constexpr static OobeScreen kScreenId = OobeScreen::SCREEN_GAIA_SIGNIN;
20
18 GaiaView() = default; 21 GaiaView() = default;
19 virtual ~GaiaView() = default; 22 virtual ~GaiaView() = default;
20 23
21 // Decides whether an auth extension should be pre-loaded. If it should, 24 // Decides whether an auth extension should be pre-loaded. If it should,
22 // pre-loads it. 25 // pre-loads it.
23 virtual void MaybePreloadAuthExtension() = 0; 26 virtual void MaybePreloadAuthExtension() = 0;
24 27
25 virtual void DisableRestrictiveProxyCheckForTest() = 0; 28 virtual void DisableRestrictiveProxyCheckForTest() = 0;
26 29
27 private: 30 private:
28 DISALLOW_COPY_AND_ASSIGN(GaiaView); 31 DISALLOW_COPY_AND_ASSIGN(GaiaView);
29 }; 32 };
30 33
31 } // namespace chromeos 34 } // namespace chromeos
32 35
33 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_GAIA_VIEW_H_ 36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_GAIA_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/eula_view.h ('k') | chrome/browser/chromeos/login/screens/hid_detection_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698