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

Unified Diff: chrome/browser/password_manager/password_store_win.cc

Issue 1730313004: Remove PasswordStore::AuthorizationPromptPolicy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: chrome/browser/password_manager/password_store_win.cc
diff --git a/chrome/browser/password_manager/password_store_win.cc b/chrome/browser/password_manager/password_store_win.cc
index aa4a6e9580e238b3ff362631aa48f2d242b2c0ca..7fa51aa336fa7cc0562390ded118a5569dcda353 100644
--- a/chrome/browser/password_manager/password_store_win.cc
+++ b/chrome/browser/password_manager/password_store_win.cc
@@ -197,7 +197,6 @@ void PasswordStoreWin::ShutdownOnUIThread() {
}
void PasswordStoreWin::GetLoginsImpl(const PasswordForm& form,
- AuthorizationPromptPolicy prompt_policy,
scoped_ptr<GetLoginsRequest> request) {
// When importing from IE7, the credentials are first stored into a temporary
// Web SQL database. Then, after each GetLogins() request that does not yield
@@ -208,8 +207,7 @@ void PasswordStoreWin::GetLoginsImpl(const PasswordForm& form,
// can be overridden instead. See: https://crbug.com/78830.
// TODO(engedy): Credentials should be imported into the LoginDatabase in the
// first place. See: https://crbug.com/456119.
- ScopedVector<autofill::PasswordForm> matched_forms(
- FillMatchingLogins(form, prompt_policy));
+ ScopedVector<autofill::PasswordForm> matched_forms(FillMatchingLogins(form));
if (matched_forms.empty() && db_handler_) {
db_handler_->GetIE7Login(
form, base::Bind(&GetLoginsRequest::NotifyConsumerWithResults,
« no previous file with comments | « chrome/browser/password_manager/password_store_win.h ('k') | chrome/browser/password_manager/password_store_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698