| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 12 #include "chrome/browser/chromeos/login/auth/login_performer.h" |
| 12 #include "chrome/browser/chromeos/login/screens/base_screen.h" | 13 #include "chrome/browser/chromeos/login/screens/base_screen.h" |
| 13 #include "chrome/browser/chromeos/login/screens/error_screen_actor_delegate.h" | 14 #include "chrome/browser/chromeos/login/screens/error_screen_actor_delegate.h" |
| 14 #include "chrome/browser/chromeos/login/ui/oobe_display.h" | 15 #include "chrome/browser/chromeos/login/ui/oobe_display.h" |
| 15 #include "chrome/browser/chromeos/settings/device_settings_service.h" | 16 #include "chrome/browser/chromeos/settings/device_settings_service.h" |
| 16 #include "chromeos/login/auth/login_performer.h" | |
| 17 | 17 |
| 18 namespace chromeos { | 18 namespace chromeos { |
| 19 | 19 |
| 20 class ScreenObserver; | 20 class ScreenObserver; |
| 21 | 21 |
| 22 // Controller for the error screen. | 22 // Controller for the error screen. |
| 23 class ErrorScreen : public BaseScreen, | 23 class ErrorScreen : public BaseScreen, |
| 24 public ErrorScreenActorDelegate, | 24 public ErrorScreenActorDelegate, |
| 25 public LoginPerformer::Delegate { | 25 public LoginPerformer::Delegate { |
| 26 public: | 26 public: |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 scoped_ptr<LoginPerformer> guest_login_performer_; | 111 scoped_ptr<LoginPerformer> guest_login_performer_; |
| 112 | 112 |
| 113 base::WeakPtrFactory<ErrorScreen> weak_factory_; | 113 base::WeakPtrFactory<ErrorScreen> weak_factory_; |
| 114 | 114 |
| 115 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); | 115 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 } // namespace chromeos | 118 } // namespace chromeos |
| 119 | 119 |
| 120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ | 120 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ |
| OLD | NEW |