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

Unified Diff: components/os_crypt/key_storage_linux.h

Issue 2948783002: Create setting that disables password stores (Closed)
Patch Set: nits + tests Created 3 years, 5 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
« no previous file with comments | « components/os_crypt/BUILD.gn ('k') | components/os_crypt/key_storage_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/os_crypt/key_storage_linux.h
diff --git a/components/os_crypt/key_storage_linux.h b/components/os_crypt/key_storage_linux.h
index 394b6b38173be0b67fa890974ba40e6fcab08ac1..310b40f25765451e2d8f571b45aa196786ff96dd 100644
--- a/components/os_crypt/key_storage_linux.h
+++ b/components/os_crypt/key_storage_linux.h
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
namespace base {
+class FilePath;
class SingleThreadTaskRunner;
} // namespace base
@@ -34,6 +35,12 @@ class KeyStorageLinux {
static void SetMainThreadRunner(
scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner);
+ // Controls whether preference on using or ignoring backends is used.
+ static void ShouldUsePreference(bool should_use_preference);
+
+ // Preferences are stored in a separate file in the user data directory.
+ static void SetUserDataPath(const base::FilePath& path);
+
// Tries to load the appropriate key storage. Returns null if none succeed.
static std::unique_ptr<KeyStorageLinux> CreateService();
« no previous file with comments | « components/os_crypt/BUILD.gn ('k') | components/os_crypt/key_storage_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698