| 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" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void SetParentScreen(OobeUI::Screen parent_screen) override; | 50 void SetParentScreen(OobeUI::Screen parent_screen) override; |
| 51 void SetHideCallback(const base::Closure& on_hide) override; | 51 void SetHideCallback(const base::Closure& on_hide) override; |
| 52 void ShowCaptivePortal() override; | 52 void ShowCaptivePortal() override; |
| 53 void ShowConnectingIndicator(bool show) override; | 53 void ShowConnectingIndicator(bool show) override; |
| 54 | 54 |
| 55 // LoginPerformer::Delegate implementation: | 55 // LoginPerformer::Delegate implementation: |
| 56 void OnAuthFailure(const AuthFailure& error) override; | 56 void OnAuthFailure(const AuthFailure& error) override; |
| 57 void OnAuthSuccess(const UserContext& user_context) override; | 57 void OnAuthSuccess(const UserContext& user_context) override; |
| 58 void OnOffTheRecordAuthSuccess() override; | 58 void OnOffTheRecordAuthSuccess() override; |
| 59 void OnPasswordChangeDetected() override; | 59 void OnPasswordChangeDetected() override; |
| 60 void WhiteListCheckFailed(const std::string& email) override; | 60 void WhiteListCheckFailed(const user_manager::UserID& user_id) override; |
| 61 void PolicyLoadFailed() override; | 61 void PolicyLoadFailed() override; |
| 62 void OnOnlineChecked(const std::string& username, bool success) override; | 62 void OnOnlineChecked(const user_manager::UserID& user_id, bool success) overri
de; |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 // Default hide_closure for Hide(). | 65 // Default hide_closure for Hide(). |
| 66 void DefaultHideCallback(); | 66 void DefaultHideCallback(); |
| 67 | 67 |
| 68 // Handle user action to configure certificates. | 68 // Handle user action to configure certificates. |
| 69 void OnConfigureCerts(); | 69 void OnConfigureCerts(); |
| 70 | 70 |
| 71 // Handle user action to diagnose network configuration. | 71 // Handle user action to diagnose network configuration. |
| 72 void OnDiagnoseButtonClicked(); | 72 void OnDiagnoseButtonClicked(); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 scoped_ptr<base::Closure> on_hide_callback_; | 105 scoped_ptr<base::Closure> on_hide_callback_; |
| 106 | 106 |
| 107 base::WeakPtrFactory<ErrorScreen> weak_factory_; | 107 base::WeakPtrFactory<ErrorScreen> weak_factory_; |
| 108 | 108 |
| 109 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); | 109 DISALLOW_COPY_AND_ASSIGN(ErrorScreen); |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 } // namespace chromeos | 112 } // namespace chromeos |
| 113 | 113 |
| 114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ | 114 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_ERROR_SCREEN_H_ |
| OLD | NEW |