OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 class PrefRegistrySimple; | |
11 | |
12 namespace chromeos { | |
13 | |
14 class StartupUtils { | |
Nikita (slow)
2013/04/19 14:37:56
nit: Class level comment?
Denis Kuznetsov (DE-MUC)
2013/04/19 14:49:04
Done.
| |
15 public: | |
16 // Returns true if EULA has been accepted. | |
17 static bool IsEulaAccepted(); | |
18 | |
19 // Returns OOBE completion status. | |
20 static bool IsOobeCompleted(); | |
21 | |
22 // Marks EULA status as accepted. | |
23 static void MarkEulaAccepted(); | |
24 | |
25 // Marks OOBE process as completed. | |
26 static void MarkOobeCompleted(); | |
27 | |
28 // Returns device registration completion status, i.e. second part of OOBE. | |
29 static bool IsDeviceRegistered(); | |
30 | |
31 // Marks device registered. i.e. second part of OOBE is completed. | |
32 static void MarkDeviceRegistered(); | |
33 | |
34 // Returns initial locale from local settings. | |
35 static std::string GetInitialLocale(); | |
36 | |
37 // Sets initial locale in local settings. | |
38 static void SetInitialLocale(const std::string& locale); | |
39 | |
40 // Registers OOBE preferences. | |
41 static void RegisterPrefs(PrefRegistrySimple* registry); | |
42 }; | |
43 | |
44 } // namespace chromeos | |
45 | |
46 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ | |
OLD | NEW |