| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_WRONG_HWID_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_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 "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h" | 10 #include "chrome/browser/chromeos/login/screens/wrong_hwid_screen_actor.h" |
| 11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" | 11 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
| 12 #include "content/public/browser/web_ui.h" | 12 #include "content/public/browser/web_ui.h" |
| 13 | 13 |
| 14 namespace base { | |
| 15 class DictionaryValue; | |
| 16 } | |
| 17 | |
| 18 namespace chromeos { | 14 namespace chromeos { |
| 19 | 15 |
| 20 // WebUI implementation of WrongHWIDScreenActor. | 16 // WebUI implementation of WrongHWIDScreenActor. |
| 21 class WrongHWIDScreenHandler : public WrongHWIDScreenActor, | 17 class WrongHWIDScreenHandler : public WrongHWIDScreenActor, |
| 22 public BaseScreenHandler { | 18 public BaseScreenHandler { |
| 23 public: | 19 public: |
| 24 WrongHWIDScreenHandler(); | 20 WrongHWIDScreenHandler(); |
| 25 ~WrongHWIDScreenHandler() override; | 21 ~WrongHWIDScreenHandler() override; |
| 26 | 22 |
| 27 // WrongHWIDScreenActor implementation: | 23 // WrongHWIDScreenActor implementation: |
| (...skipping 19 matching lines...) Expand all Loading... |
| 47 // Keeps whether screen should be shown right after initialization. | 43 // Keeps whether screen should be shown right after initialization. |
| 48 bool show_on_init_; | 44 bool show_on_init_; |
| 49 | 45 |
| 50 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); | 46 DISALLOW_COPY_AND_ASSIGN(WrongHWIDScreenHandler); |
| 51 }; | 47 }; |
| 52 | 48 |
| 53 } // namespace chromeos | 49 } // namespace chromeos |
| 54 | 50 |
| 55 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ | 51 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_WRONG_HWID_SCREEN_HANDLER_H_ |
| 56 | 52 |
| OLD | NEW |