| 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 2791d75633b4b8a264705c1db6663b11e0294ecb..1808706f4d5e1ae427eecf6d5ca2edb66f357d1d 100644
|
| --- a/components/os_crypt/key_storage_linux.h
|
| +++ b/components/os_crypt/key_storage_linux.h
|
| @@ -9,6 +9,8 @@
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| +#include "base/memory/ref_counted.h"
|
| +#include "base/single_thread_task_runner.h"
|
|
|
| // An API for retrieving OSCrypt's password from the system's password storage
|
| // service.
|
| @@ -23,6 +25,12 @@ class KeyStorageLinux {
|
| // The product name to use for permission prompts.
|
| static void SetProductName(const std::string& product_name);
|
|
|
| + // A runner on the main thread for gnome-keyring to be called from.
|
| + // TODO(crbug/466975): Libsecret and KWallet don't need this. We can remove
|
| + // this when we stop supporting keyring.
|
| + static void SetMainThreadRunner(
|
| + scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner);
|
| +
|
| // Tries to load the appropriate key storage. Returns null if none succeed.
|
| static std::unique_ptr<KeyStorageLinux> CreateService();
|
|
|
|
|