| 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_WIZARD_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 | 81 |
| 82 // Returns true if valid registration URL is defined. | 82 // Returns true if valid registration URL is defined. |
| 83 static bool IsRegisterScreenDefined(); | 83 static bool IsRegisterScreenDefined(); |
| 84 | 84 |
| 85 // Marks device registered. i.e. second part of OOBE is completed. | 85 // Marks device registered. i.e. second part of OOBE is completed. |
| 86 static void MarkDeviceRegistered(); | 86 static void MarkDeviceRegistered(); |
| 87 | 87 |
| 88 // Returns initial locale from local settings. | 88 // Returns initial locale from local settings. |
| 89 static std::string GetInitialLocale(); | 89 static std::string GetInitialLocale(); |
| 90 | 90 |
| 91 // Sets delays to zero. MUST be used only for browser tests. | 91 // Sets delays to zero. MUST be used only for tests. |
| 92 static void SetZeroDelays(); | 92 static void SetZeroDelays(); |
| 93 | 93 |
| 94 // If true zero delays have been enabled (for browser tests). | 94 // If true zero delays have been enabled (for browser tests). |
| 95 static bool IsZeroDelayEnabled(); | 95 static bool IsZeroDelayEnabled(); |
| 96 | 96 |
| 97 // Sets initial locale in local settings. | 97 // Sets initial locale in local settings. |
| 98 static void SetInitialLocale(const std::string& locale); | 98 static void SetInitialLocale(const std::string& locale); |
| 99 | 99 |
| 100 // Registers OOBE preferences. | 100 // Registers OOBE preferences. |
| 101 static void RegisterPrefs(PrefService* local_state); | 101 static void RegisterPrefs(PrefService* local_state); |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators); | 279 FRIEND_TEST_ALL_PREFIXES(WizardControllerFlowTest, Accelerators); |
| 280 friend class WizardControllerFlowTest; | 280 friend class WizardControllerFlowTest; |
| 281 friend class WizardInProcessBrowserTest; | 281 friend class WizardInProcessBrowserTest; |
| 282 | 282 |
| 283 DISALLOW_COPY_AND_ASSIGN(WizardController); | 283 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 284 }; | 284 }; |
| 285 | 285 |
| 286 } // namespace chromeos | 286 } // namespace chromeos |
| 287 | 287 |
| 288 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 288 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |