| 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_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H
_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H
_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H
_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLER_H
_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 // Callback for DebugDaemonClient::QueryDebuggingFeatures(). | 70 // Callback for DebugDaemonClient::QueryDebuggingFeatures(). |
| 71 void OnQueryDebuggingFeatures(bool success, int features_flag); | 71 void OnQueryDebuggingFeatures(bool success, int features_flag); |
| 72 | 72 |
| 73 // Callback for DebugDaemonClient::RemoveRootfsVerification(). | 73 // Callback for DebugDaemonClient::RemoveRootfsVerification(). |
| 74 void OnRemoveRootfsVerification(bool success); | 74 void OnRemoveRootfsVerification(bool success); |
| 75 | 75 |
| 76 // Updates UI state. | 76 // Updates UI state. |
| 77 void UpdateUIState(UIState state); | 77 void UpdateUIState(UIState state); |
| 78 | 78 |
| 79 Delegate* delegate_; | 79 Delegate* delegate_ = nullptr; |
| 80 | 80 |
| 81 // Keeps whether screen should be shown right after initialization. | 81 // Keeps whether screen should be shown right after initialization. |
| 82 bool show_on_init_; | 82 bool show_on_init_ = false; |
| 83 | 83 |
| 84 base::WeakPtrFactory<EnableDebuggingScreenHandler> weak_ptr_factory_; | 84 base::WeakPtrFactory<EnableDebuggingScreenHandler> weak_ptr_factory_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreenHandler); | 86 DISALLOW_COPY_AND_ASSIGN(EnableDebuggingScreenHandler); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace chromeos | 89 } // namespace chromeos |
| 90 | 90 |
| 91 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLE
R_H_ | 91 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENABLE_DEBUGGING_SCREEN_HANDLE
R_H_ |
| OLD | NEW |