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..8544752481878266d03ff1ecacb8d47f34fa2631 100644 |
--- a/components/os_crypt/key_storage_linux.h |
+++ b/components/os_crypt/key_storage_linux.h |
@@ -20,6 +20,9 @@ class KeyStorageLinux { |
// Force OSCrypt to use a specific linux password store. |
static void SetStore(const std::string& store_type); |
+ // The product name to use for permission prompts. |
+ static void SetProductName(const std::string& product_name); |
+ |
// Tries to load the appropriate key storage. Returns null if none succeed. |
static std::unique_ptr<KeyStorageLinux> CreateService(); |
@@ -31,6 +34,11 @@ class KeyStorageLinux { |
// Loads the key storage. Returns false if the service is not available. |
virtual bool Init() = 0; |
+ // The name of the group, if any, containing the key. |
+ static const char* const kFolderName; |
Lei Zhang
2016/07/20 19:15:07
Can these be static const char kFoo[] ?
cfroussios
2016/07/21 11:49:46
Done.
|
+ // The name of the entry with the encryption key. |
+ static const char* const kKey; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(KeyStorageLinux); |
}; |