| 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..758f06a3fa1ab128b5a600883d31d3b7f8c362cc 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::ShouldUsePreference(bool should_use_preference) {
|
| + // Setting initialisation parameters makes no sense after initializing.
|
| + DCHECK(!g_cache.Get().is_key_storage_cached);
|
| +
|
| + KeyStorageLinux::ShouldUsePreference(should_use_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]();
|
|
|