| Index: components/os_crypt/os_crypt_mocker.cc
|
| diff --git a/components/os_crypt/os_crypt_mocker.cc b/components/os_crypt/os_crypt_mocker.cc
|
| index dd160cbaf5396d2fbe0c36c3c4c4381b78c24f6e..3e676c95a4ff274728161869cfda98bbddf72654 100644
|
| --- a/components/os_crypt/os_crypt_mocker.cc
|
| +++ b/components/os_crypt/os_crypt_mocker.cc
|
| @@ -14,7 +14,7 @@
|
| void OSCryptMocker::SetUpWithSingleton() {
|
| #if defined(OS_MACOSX)
|
| OSCrypt::UseMockKeychain(true);
|
| -#elif defined(USE_LIBSECRET)
|
| +#elif defined(USE_LIBSECRET) || defined(USE_KEYRING) || defined(USE_KWALLET)
|
| OSCryptMockerLinux::SetUpWithSingleton();
|
| #endif
|
| }
|
| @@ -23,7 +23,7 @@ void OSCryptMocker::SetUpWithSingleton() {
|
| void OSCryptMocker::TearDown() {
|
| #if defined(OS_MACOSX)
|
| OSCrypt::UseMockKeychain(false);
|
| -#elif defined(USE_LIBSECRET)
|
| +#elif defined(USE_LIBSECRET) || defined(USE_KEYRING) || defined(USE_KWALLET)
|
| OSCryptMockerLinux::TearDown();
|
| #endif
|
| }
|
|
|