| Index: chrome/browser/chromeos/arc/arc_util.h
|
| diff --git a/chrome/browser/chromeos/arc/arc_util.h b/chrome/browser/chromeos/arc/arc_util.h
|
| index affd485b31b8546bc0e81891aa9e73b2d119761a..4205852f50e04287258371bcd9e18db41e2253a1 100644
|
| --- a/chrome/browser/chromeos/arc/arc_util.h
|
| +++ b/chrome/browser/chromeos/arc/arc_util.h
|
| @@ -112,6 +112,18 @@ void UpdateArcFileSystemCompatibilityPrefIfNeeded(
|
| const base::FilePath& profile_path,
|
| const base::Closure& callback);
|
|
|
| +// Returns if the migration from ecryptfs to ext4 is allowed. It is true if the
|
| +// flag --need-arc-migration-policy-check is not set or if the device is
|
| +// consumer owned or if the device policy is present and has the value
|
| +// |kAllowMigration|. The response is cached the first time the function is
|
| +// used, and a policy update won't change the return value after that until the
|
| +// next Chrome restart.
|
| +bool IsArcMigrationAllowed();
|
| +
|
| +// For testing IsArcMigrationAllowed, the global flags have to be reset before
|
| +// every test.
|
| +void ResetArcMigrationAllowedForTesting();
|
| +
|
| } // namespace arc
|
|
|
| #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_UTIL_H_
|
|
|