| Index: chrome/browser/password_manager/native_backend_libsecret.cc
|
| diff --git a/chrome/browser/password_manager/native_backend_libsecret.cc b/chrome/browser/password_manager/native_backend_libsecret.cc
|
| index 6b3fab35227341c38066b61d261ad4dae46c54e6..dab55dbe895a1dad495890b1e423cab41c75cf56 100644
|
| --- a/chrome/browser/password_manager/native_backend_libsecret.cc
|
| +++ b/chrome/browser/password_manager/native_backend_libsecret.cc
|
| @@ -318,7 +318,8 @@ bool NativeBackendLibsecret::AddUpdateLoginSearch(
|
| GError* error = nullptr;
|
| GList* found = LibsecretLoader::secret_service_search_sync(
|
| nullptr, // default secret service
|
| - &kLibsecretSchema, attrs.Get(), SECRET_SEARCH_ALL,
|
| + &kLibsecretSchema, attrs.Get(),
|
| + static_cast<SecretSearchFlags>(SECRET_SEARCH_ALL | SECRET_SEARCH_UNLOCK),
|
| nullptr, // no cancellable ojbect
|
| &error);
|
| if (error) {
|
| @@ -421,7 +422,8 @@ bool NativeBackendLibsecret::GetLoginsList(
|
| GError* error = nullptr;
|
| GList* found = LibsecretLoader::secret_service_search_sync(
|
| nullptr, // default secret service
|
| - &kLibsecretSchema, attrs.Get(), SECRET_SEARCH_ALL,
|
| + &kLibsecretSchema, attrs.Get(),
|
| + static_cast<SecretSearchFlags>(SECRET_SEARCH_ALL | SECRET_SEARCH_UNLOCK),
|
| nullptr, // no cancellable ojbect
|
| &error);
|
| if (error) {
|
|
|