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

Unified Diff: components/os_crypt/libsecret_util_linux.h

Issue 2465083002: Add a dummy entry with libsecret when initializing 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
« no previous file with comments | « components/os_crypt/key_storage_libsecret_unittest.cc ('k') | components/os_crypt/libsecret_util_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/os_crypt/libsecret_util_linux.h
diff --git a/components/os_crypt/libsecret_util_linux.h b/components/os_crypt/libsecret_util_linux.h
index bb86f5140d9d2f6d8b66979adea78d8c11486faf..96f6b17d56e816d4a7ee97de53288000db8e1141 100644
--- a/components/os_crypt/libsecret_util_linux.h
+++ b/components/os_crypt/libsecret_util_linux.h
@@ -30,6 +30,10 @@ class LibsecretLoader {
// the library again if already successful.
static bool EnsureLibsecretLoaded();
+ // Ensure that the default keyring is accessible. This won't prevent the user
+ // from locking their keyring while Chrome is running.
+ static void EnsureKeyringUnlocked();
+
protected:
static bool libsecret_loaded_;
« no previous file with comments | « components/os_crypt/key_storage_libsecret_unittest.cc ('k') | components/os_crypt/libsecret_util_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698