| Index: components/os_crypt/os_crypt_linux.cc
|
| diff --git a/components/os_crypt/os_crypt_linux.cc b/components/os_crypt/os_crypt_linux.cc
|
| index b8b6ada030eda973d57d5ffd6cb9531a96403696..427640528de5bac2c8ffcf1c7f58b30267085a53 100644
|
| --- a/components/os_crypt/os_crypt_linux.cc
|
| +++ b/components/os_crypt/os_crypt_linux.cc
|
| @@ -249,6 +249,22 @@ void OSCrypt::SetMainThreadRunner(
|
| KeyStorageLinux::SetMainThreadRunner(main_thread_runner);
|
| }
|
|
|
| +// static
|
| +void OSCrypt::EnablePreference(bool enable_preference) {
|
| + // Setting initialisation parameters makes no sense after initializing.
|
| + DCHECK(!g_cache.Get().is_key_storage_cached);
|
| +
|
| + KeyStorageLinux::EnablePreference(enable_preference);
|
| +}
|
| +
|
| +// static
|
| +void OSCrypt::SetUserDataPath(const base::FilePath& path) {
|
| + // Setting initialisation parameters makes no sense after initializing.
|
| + DCHECK(!g_cache.Get().is_key_storage_cached);
|
| +
|
| + KeyStorageLinux::SetUserDataPath(path);
|
| +}
|
| +
|
| // static
|
| bool OSCrypt::IsEncryptionAvailable() {
|
| return g_get_password[Version::V11]();
|
|
|