| OLD | NEW |
| 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_ |
| OLD | NEW |