Chromium Code Reviews| 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_STARTUP_UTILS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 63 static void SaveTimeOfLastUpdateCheckWithoutUpdate(base::Time time); | 63 static void SaveTimeOfLastUpdateCheckWithoutUpdate(base::Time time); |
| 64 | 64 |
| 65 // Clears the update check time which was previously saved. | 65 // Clears the update check time which was previously saved. |
| 66 static void ClearTimeOfLastUpdateCheckWithoutUpdate(); | 66 static void ClearTimeOfLastUpdateCheckWithoutUpdate(); |
| 67 | 67 |
| 68 // Returns the time of the last update check which did not lead to an update. | 68 // Returns the time of the last update check which did not lead to an update. |
| 69 static base::Time GetTimeOfLastUpdateCheckWithoutUpdate(); | 69 static base::Time GetTimeOfLastUpdateCheckWithoutUpdate(); |
| 70 | 70 |
| 71 // Registers OOBE preferences. | 71 // Registers OOBE preferences. |
| 72 static void RegisterPrefs(PrefRegistrySimple* registry); | 72 static void RegisterPrefs(PrefRegistrySimple* registry); |
| 73 | |
| 74 // Sets the flag in arc_utils to set if device is allowed to migrate the user | |
| 75 // data from ecryptfs to ext4 encryption. This is true when the device is not | |
| 76 // managed or when the DeviceEcryptfsMigrationStrategyProto device policy | |
| 77 // allows migration. Ext4 is required for ARC(N+). | |
| 78 // TODO(igorcov): Remove this after migration. crbug.com/725493 | |
| 79 static void SetExt4MigrationForArcAllowed(); | |
|
hidehiko
2017/05/25 12:41:55
Which thread this can be called? Only UI thread? P
| |
| 73 }; | 80 }; |
| 74 | 81 |
| 75 } // namespace chromeos | 82 } // namespace chromeos |
| 76 | 83 |
| 77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ | 84 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_STARTUP_UTILS_H_ |
| OLD | NEW |