OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_ERROR_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "chrome/browser/chromeos/login/screens/network_error.h" | 13 #include "chrome/browser/chromeos/login/screens/network_error.h" |
14 #include "chrome/browser/chromeos/login/screens/network_error_model.h" | 14 #include "chrome/browser/chromeos/login/screens/network_error_model.h" |
15 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 15 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
16 #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" | 16 #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" |
17 #include "chrome/browser/ui/webui/chromeos/login/oobe_screen.h" | |
18 #include "chromeos/login/auth/login_performer.h" | 17 #include "chromeos/login/auth/login_performer.h" |
19 | 18 |
20 namespace chromeos { | 19 namespace chromeos { |
21 | 20 |
22 class BaseScreenDelegate; | 21 class BaseScreenDelegate; |
23 class CaptivePortalWindowProxy; | 22 class CaptivePortalWindowProxy; |
24 class NetworkErrorView; | 23 class NetworkErrorView; |
25 | 24 |
26 // Controller for the error screen. | 25 // Controller for the error screen. |
27 class ErrorScreen : public NetworkErrorModel, public LoginPerformer::Delegate { | 26 class ErrorScreen : public NetworkErrorModel, public LoginPerformer::Delegate { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 base::CallbackList<void()> connect_request_callbacks_; | 118 base::CallbackList<void()> connect_request_callbacks_; |
120 | 119 |
121 base::WeakPtrFactory<ErrorScreen> weak_factory_; | 120 base::WeakPtrFactory<ErrorScreen> weak_factory_; |
122 | 121 |
123 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); | 122 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); |
124 }; | 123 }; |
125 | 124 |
126 } // namespace chromeos | 125 } // namespace chromeos |
127 | 126 |
128 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ | 127 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ |
OLD | NEW |