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

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

Issue 2695233004: Implement PasswordStore::GetAllStats (Closed)
Patch Set: Add Mac Implementations Created 3 years, 10 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/statistics_table.h
diff --git a/components/password_manager/core/browser/statistics_table.h b/components/password_manager/core/browser/statistics_table.h
index ea6c8c116588e15d26e37fad2d2b5de4771b3698..1b6803ec3c9484844c85bdaf10f3efb551dec5c5 100644
--- a/components/password_manager/core/browser/statistics_table.h
+++ b/components/password_manager/core/browser/statistics_table.h
@@ -68,6 +68,9 @@ class StatisticsTable {
// successfully.
bool RemoveRow(const GURL& domain);
+ // Returns all statistics from the database.
+ std::vector<InteractionsStats> GetAllRows();
+
// Returns the statistics for |domain| if it exists.
std::vector<InteractionsStats> GetRows(const GURL& domain);

Powered by Google App Engine
This is Rietveld 408576698