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

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

Issue 2133173003: Minor fixes in login_database.* and sql/statement.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typos Created 4 years, 5 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
« no previous file with comments | « no previous file | components/password_manager/core/browser/login_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c992f3eb159e7c18882efab2cf68e33db957d121..fed4a2786c2b32b7457c0a9632d542841e6656a6 100644
--- a/components/password_manager/core/browser/login_database.h
+++ b/components/password_manager/core/browser/login_database.h
@@ -36,7 +36,7 @@ extern const int kCompatibleVersionNumber;
// the login information.
class LoginDatabase {
public:
- LoginDatabase(const base::FilePath& db_path);
+ explicit LoginDatabase(const base::FilePath& db_path);
virtual ~LoginDatabase();
// Actually creates/opens the database. If false is returned, no other method
@@ -179,7 +179,7 @@ class LoginDatabase {
// ENCRYPTION_RESULT_SUCCESS, |form| is not filled.
static EncryptionResult InitPasswordFormFromStatement(
autofill::PasswordForm* form,
- sql::Statement& s);
+ const sql::Statement& s);
// Gets all blacklisted or all non-blacklisted (depending on |blacklisted|)
// credentials. On success returns true and overwrites |forms| with the
« no previous file with comments | « no previous file | components/password_manager/core/browser/login_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698