Chromium Code Reviews| Index: chrome/browser/chromeos/login/startup_utils.h |
| diff --git a/chrome/browser/chromeos/login/startup_utils.h b/chrome/browser/chromeos/login/startup_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c6e130e6e2fe1f844c91bccbb0c332ef093de253 |
| --- /dev/null |
| +++ b/chrome/browser/chromeos/login/startup_utils.h |
| @@ -0,0 +1,46 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ |
| +#define CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ |
| + |
| +#include <string> |
| + |
| +class PrefRegistrySimple; |
| + |
| +namespace chromeos { |
| + |
| +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.
|
| + public: |
| + // Returns true if EULA has been accepted. |
| + static bool IsEulaAccepted(); |
| + |
| + // Returns OOBE completion status. |
| + static bool IsOobeCompleted(); |
| + |
| + // Marks EULA status as accepted. |
| + static void MarkEulaAccepted(); |
| + |
| + // Marks OOBE process as completed. |
| + static void MarkOobeCompleted(); |
| + |
| + // Returns device registration completion status, i.e. second part of OOBE. |
| + static bool IsDeviceRegistered(); |
| + |
| + // Marks device registered. i.e. second part of OOBE is completed. |
| + static void MarkDeviceRegistered(); |
| + |
| + // Returns initial locale from local settings. |
| + static std::string GetInitialLocale(); |
| + |
| + // Sets initial locale in local settings. |
| + static void SetInitialLocale(const std::string& locale); |
| + |
| + // Registers OOBE preferences. |
| + static void RegisterPrefs(PrefRegistrySimple* registry); |
| +}; |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ |