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

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

Issue 106053008: [Mac] Passwords: Don't always prompt to access passwords saved by other browsers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix yet another compile failure. Created 7 years 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.cc
diff --git a/chrome/browser/password_manager/password_store.cc b/chrome/browser/password_manager/password_store.cc
index d5880502c5ad7035e03995a6cd30e86578690c5c..1e96060fb40708144ca0f24b18d6b2a4602ad119 100644
--- a/chrome/browser/password_manager/password_store.cc
+++ b/chrome/browser/password_manager/password_store.cc
@@ -120,6 +120,7 @@ void PasswordStore::RemoveLoginsCreatedBetween(const base::Time& delete_begin,
CancelableTaskTracker::TaskId PasswordStore::GetLogins(
const PasswordForm& form,
+ AuthorizationPromptPolicy prompt_policy,
PasswordStoreConsumer* consumer) {
// Per http://crbug.com/121738, we deliberately ignore saved logins for
// http*://www.google.com/ that were stored prior to 2012. (Google now uses
@@ -149,8 +150,8 @@ CancelableTaskTracker::TaskId PasswordStore::GetLogins(
is_canceled_cb,
consumer,
ignore_logins_cutoff);
- ScheduleTask(
- base::Bind(&PasswordStore::GetLoginsImpl, this, form, callback_runner));
+ ScheduleTask(base::Bind(&PasswordStore::GetLoginsImpl,
+ this, form, prompt_policy, callback_runner));
return id;
}
« no previous file with comments | « chrome/browser/password_manager/password_store.h ('k') | chrome/browser/password_manager/password_store_default.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698