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..2791d75633b4b8a264705c1db6663b11e0294ecb 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 kFolderName[]; |
+ // The name of the entry with the encryption key. |
+ static const char kKey[]; |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(KeyStorageLinux); |
}; |