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

Unified Diff: chrome/browser/password_manager/native_backend_libsecret_unittest.cc

Issue 2463263002: Unlock all libsecret items in Password Manager and OSCrypt (Closed)
Patch Set: Created 4 years, 1 month 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: chrome/browser/password_manager/native_backend_libsecret_unittest.cc
diff --git a/chrome/browser/password_manager/native_backend_libsecret_unittest.cc b/chrome/browser/password_manager/native_backend_libsecret_unittest.cc
index 50ee221e6009b6050c7aa9d46fdf21fdb72f4c73..466cc9f6ebe0fcf1c8623cea9ecf241af5915183 100644
--- a/chrome/browser/password_manager/native_backend_libsecret_unittest.cc
+++ b/chrome/browser/password_manager/native_backend_libsecret_unittest.cc
@@ -129,6 +129,7 @@ GList* mock_secret_service_search_sync(SecretService* service,
SecretSearchFlags flags,
GCancellable* cancellable,
GError** error) {
+ EXPECT_TRUE(flags & SECRET_SEARCH_UNLOCK);
GList* result = nullptr;
for (MockSecretItem* item : *global_mock_libsecret_items) {
if (Matches(item, attributes))
« no previous file with comments | « chrome/browser/password_manager/native_backend_libsecret.cc ('k') | components/os_crypt/key_storage_libsecret.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698