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

Unified Diff: components/password_manager/core/browser/login_database.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/login_database.h
diff --git a/components/password_manager/core/browser/login_database.h b/components/password_manager/core/browser/login_database.h
index 008afa350f39a456046e3b843fee15e983473f71..ca3db84438e09ffb6d07e3d4ab36b2d109eaba92 100644
--- a/components/password_manager/core/browser/login_database.h
+++ b/components/password_manager/core/browser/login_database.h
@@ -16,6 +16,7 @@
#include "components/password_manager/core/browser/password_store.h"
#include "components/password_manager/core/browser/password_store_change.h"
#include "components/password_manager/core/browser/psl_matching_helper.h"
+#include "components/password_manager/core/browser/statistics_table.h"
#include "sql/connection.h"
#include "sql/meta_table.h"
@@ -108,6 +109,8 @@ class LoginDatabase {
// whether further use of this login database will succeed is unspecified.
bool DeleteAndRecreateDatabaseFile();
+ StatisticsTable& stats_table() { return stats_table_; }
+
private:
// Result values for encryption/decryption actions.
enum EncryptionResult {
@@ -165,6 +168,7 @@ class LoginDatabase {
base::FilePath db_path_;
mutable sql::Connection db_;
sql::MetaTable meta_table_;
+ StatisticsTable stats_table_;
DISALLOW_COPY_AND_ASSIGN(LoginDatabase);
};
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | components/password_manager/core/browser/login_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698