| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_OOBE_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 SCREEN_ARC_TERMS_OF_SERVICE, | 32 SCREEN_ARC_TERMS_OF_SERVICE, |
| 33 SCREEN_WRONG_HWID, | 33 SCREEN_WRONG_HWID, |
| 34 SCREEN_AUTO_ENROLLMENT_CHECK, | 34 SCREEN_AUTO_ENROLLMENT_CHECK, |
| 35 SCREEN_APP_LAUNCH_SPLASH, | 35 SCREEN_APP_LAUNCH_SPLASH, |
| 36 SCREEN_CONFIRM_PASSWORD, | 36 SCREEN_CONFIRM_PASSWORD, |
| 37 SCREEN_FATAL_ERROR, | 37 SCREEN_FATAL_ERROR, |
| 38 SCREEN_OOBE_CONTROLLER_PAIRING, | 38 SCREEN_OOBE_CONTROLLER_PAIRING, |
| 39 SCREEN_OOBE_HOST_PAIRING, | 39 SCREEN_OOBE_HOST_PAIRING, |
| 40 SCREEN_DEVICE_DISABLED, | 40 SCREEN_DEVICE_DISABLED, |
| 41 SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR, | 41 SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR, |
| 42 SCREEN_ACTIVE_DIRECTORY_PASSWORD_CHANGE, |
| 42 SCREEN_UNKNOWN // This must always be the last element. | 43 SCREEN_UNKNOWN // This must always be the last element. |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 // Returns the JS name for the given screen. | 46 // Returns the JS name for the given screen. |
| 46 std::string GetOobeScreenName(OobeScreen screen); | 47 std::string GetOobeScreenName(OobeScreen screen); |
| 47 | 48 |
| 48 // Converts the JS name for the given sreen into a Screen instance. | 49 // Converts the JS name for the given sreen into a Screen instance. |
| 49 OobeScreen GetOobeScreenFromName(const std::string& name); | 50 OobeScreen GetOobeScreenFromName(const std::string& name); |
| 50 | 51 |
| 51 } // namespace chromeos | 52 } // namespace chromeos |
| 52 | 53 |
| 53 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_ | 54 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
| OLD | NEW |