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

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

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 | « components/password_manager/core/browser/login_database.h ('k') | sql/statement.h » ('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.cc
diff --git a/components/password_manager/core/browser/login_database.cc b/components/password_manager/core/browser/login_database.cc
index d4e913cd7685f159ad0be44805ebfe05b9d6e9e5..0e79eb407ea12948211fe323ffc1b7e8ef8b2a64 100644
--- a/components/password_manager/core/browser/login_database.cc
+++ b/components/password_manager/core/browser/login_database.cc
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <algorithm>
#include <limits>
+#include <map>
#include <utility>
#include "base/bind.h"
@@ -1057,7 +1058,7 @@ bool LoginDatabase::DisableAutoSignInForAllLogins() {
// static
LoginDatabase::EncryptionResult LoginDatabase::InitPasswordFormFromStatement(
PasswordForm* form,
- sql::Statement& s) {
+ const sql::Statement& s) {
std::string encrypted_password;
s.ColumnBlobAsString(COLUMN_PASSWORD_VALUE, &encrypted_password);
base::string16 decrypted_password;
« no previous file with comments | « components/password_manager/core/browser/login_database.h ('k') | sql/statement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698