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() { |