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

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

Issue 1083293004: Implement the statistics table for the passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address the comments Created 5 years, 8 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_consumer.h
diff --git a/components/password_manager/core/browser/password_store_consumer.h b/components/password_manager/core/browser/password_store_consumer.h
index 1ffdae3c871694263fec69204227d68ea93ac8c9..b893499561f54fdbb721376f1bb8a37cf98b5391 100644
--- a/components/password_manager/core/browser/password_store_consumer.h
+++ b/components/password_manager/core/browser/password_store_consumer.h
@@ -16,6 +16,8 @@ struct PasswordForm;
namespace password_manager {
+struct InteractionsStats;
+
// Reads from the PasswordStore are done asynchronously on a separate
// thread. PasswordStoreConsumer provides the virtual callback method, which is
// guaranteed to be executed on this (the UI) thread. It also provides the
@@ -25,10 +27,13 @@ class PasswordStoreConsumer {
public:
PasswordStoreConsumer();
- // Called when the request is finished, with the associated |results|.
+ // Called when the GetLogins() request is finished, with the associated
+ // |results|.
virtual void OnGetPasswordStoreResults(
ScopedVector<autofill::PasswordForm> results) = 0;
+ virtual void OnGetSiteStatistics(scoped_ptr<InteractionsStats> stats);
+
// The base::CancelableTaskTracker can be used for cancelling the
// tasks associated with the consumer.
base::CancelableTaskTracker* cancelable_task_tracker() {

Powered by Google App Engine
This is Rietveld 408576698