OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_NETWORK_ERROR_MODEL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ |
7 | 7 |
8 #include "base/callback_list.h" | 8 #include "base/callback_list.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
11 #include "chrome/browser/chromeos/login/screens/network_error.h" | 11 #include "chrome/browser/chromeos/login/screens/network_error.h" |
12 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" | 12 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" |
13 | 13 |
14 namespace base { | |
15 class ListValue; | |
16 } | |
17 | |
18 namespace chromeos { | 14 namespace chromeos { |
19 | 15 |
20 class BaseScreenDelegate; | 16 class BaseScreenDelegate; |
21 class NetworkErrorView; | 17 class NetworkErrorView; |
22 | 18 |
23 class NetworkErrorModel : public BaseScreen { | 19 class NetworkErrorModel : public BaseScreen { |
24 public: | 20 public: |
25 static const char kContextKeyErrorStateCode[]; | 21 static const char kContextKeyErrorStateCode[]; |
26 static const char kContextKeyErrorStateNetwork[]; | 22 static const char kContextKeyErrorStateNetwork[]; |
27 static const char kContextKeyGuestSigninAllowed[]; | 23 static const char kContextKeyGuestSigninAllowed[]; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // Shows captive portal dialog. | 80 // Shows captive portal dialog. |
85 virtual void ShowCaptivePortal() = 0; | 81 virtual void ShowCaptivePortal() = 0; |
86 | 82 |
87 // Toggles the connection pending indicator. | 83 // Toggles the connection pending indicator. |
88 virtual void ShowConnectingIndicator(bool show) = 0; | 84 virtual void ShowConnectingIndicator(bool show) = 0; |
89 }; | 85 }; |
90 | 86 |
91 } // namespace chromeos | 87 } // namespace chromeos |
92 | 88 |
93 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ | 89 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_NETWORK_ERROR_MODEL_H_ |
OLD | NEW |