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

Unified Diff: components/password_manager/core/browser/password_store.h

Issue 2714543006: Clean Obsolete HTTP Data from the Password Store (Closed)
Patch Set: Add Unittest File Created 3 years, 9 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
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();
vasilii 2017/03/23 17:39:26 Not used publicly.
jdoerrie 2017/03/24 14:08:32 Yeah, my bad. I tested locally and forgot to rever
+
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,

Powered by Google App Engine
This is Rietveld 408576698