| Index: components/password_manager/core/browser/password_store.h
|
| diff --git a/components/password_manager/core/browser/password_store.h b/components/password_manager/core/browser/password_store.h
|
| index dd34afc9bc94e4b4bec0294c74d500f5bb61394d..721fa02280d1525a9a7458ee3014f1af8801c98e 100644
|
| --- a/components/password_manager/core/browser/password_store.h
|
| +++ b/components/password_manager/core/browser/password_store.h
|
| @@ -236,6 +236,11 @@ class PasswordStore : protected PasswordStoreSync,
|
| const std::string& domain,
|
| PasswordReuseDetectorConsumer* consumer);
|
|
|
| + // Get the TaskRunner to use for PasswordStore background tasks.
|
| + // By default, a SingleThreadTaskRunner on the DB thread is used, but
|
| + // subclasses can override.
|
| + virtual scoped_refptr<base::SingleThreadTaskRunner> GetBackgroundTaskRunner();
|
| +
|
| protected:
|
| friend class base::RefCountedThreadSafe<PasswordStore>;
|
|
|
| @@ -295,11 +300,6 @@ class PasswordStore : protected PasswordStoreSync,
|
|
|
| ~PasswordStore() override;
|
|
|
| - // Get the TaskRunner to use for PasswordStore background tasks.
|
| - // By default, a SingleThreadTaskRunner on the DB thread is used, but
|
| - // subclasses can override.
|
| - virtual scoped_refptr<base::SingleThreadTaskRunner> GetBackgroundTaskRunner();
|
| -
|
| // Methods below will be run in PasswordStore's own thread.
|
| // Synchronous implementation that reports usage metrics.
|
| virtual void ReportMetricsImpl(const std::string& sync_username,
|
|
|