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 a1c187aef2042c1002637a3574b02207a27a5c7c..bfefc696df450df693f244c32ef49dbec2db37e4 100644 |
--- a/components/os_crypt/os_crypt_linux.cc |
+++ b/components/os_crypt/os_crypt_linux.cc |
@@ -210,6 +210,11 @@ bool OSCrypt::DecryptString(const std::string& ciphertext, |
return true; |
} |
+// static |
+void OSCrypt::SetStore(const std::string& store_type) { |
+ KeyStorageLinux::SetStore(store_type); |
+} |
+ |
void UseMockKeyStorageForTesting(KeyStorageLinux* (*get_key_storage_mock)(), |
std::string* (*get_password_v11_mock)()) { |
// Save the real implementation to restore it later. |