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

Unified Diff: components/os_crypt/key_storage_linux.h

Issue 2152493002: Revert of Forward password-store switch to OSCrypt component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 b8ef53bcf1c1e1cf1f4ceb5128855f41a5510402..0f8449178b8f6fbdac2bad8285c863d339d31317 100644
--- a/components/os_crypt/key_storage_linux.h
+++ b/components/os_crypt/key_storage_linux.h
@@ -17,10 +17,8 @@
KeyStorageLinux() = default;
virtual ~KeyStorageLinux() = default;
- // Force OSCrypt to use a specific linux password store.
- static void SetStore(const std::string& store_type);
-
- // Tries to load the appropriate key storage. Returns null if none succeed.
+ // Tries to load all known key storages. Returns the first that succeeds or
+ // null if none succeed.
static std::unique_ptr<KeyStorageLinux> CreateService();
// Gets the encryption key from the OS password-managing library. If a key is
« 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