Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: components/os_crypt/os_crypt_unittest.cc

Issue 1973483002: OSCrypt for POSIX uses libsecret to store a randomised encryption key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactored CL Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/os_crypt/os_crypt_unittest.cc
diff --git a/components/os_crypt/os_crypt_unittest.cc b/components/os_crypt/os_crypt_unittest.cc
index 9837cbc29a0d8d1725056fdd79006e3e9e54e2ed..a9aec3a835d8d3e75cf279984458b5e24b9d944e 100644
--- a/components/os_crypt/os_crypt_unittest.cc
+++ b/components/os_crypt/os_crypt_unittest.cc
@@ -23,6 +23,9 @@ class OSCryptTest : public testing::Test {
#if defined(OS_MACOSX)
OSCrypt::UseMockKeychain(true);
#endif
+#if defined(USE_LIBSECRET)
+ OSCrypt::UseMockKeyStorage(true);
+#endif
}
private:

Powered by Google App Engine
This is Rietveld 408576698