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

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

Issue 19775014: [Passwords, Mac] Don't always prompt to access passwords saved by other browsers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 eec4ccf2356cb5edcbcb3d98a2a25cd49f381709..065e8e92dd693ac1b0bc6e22e47710c924cbb552 100644
--- a/chrome/browser/password_manager/password_store.cc
+++ b/chrome/browser/password_manager/password_store.cc
@@ -119,7 +119,8 @@ void PasswordStore::RemoveLoginsCreatedBetween(const base::Time& delete_begin,
CancelableTaskTracker::TaskId PasswordStore::GetLogins(
const PasswordForm& form,
- PasswordStoreConsumer* consumer) {
+ PasswordStoreConsumer* consumer,
+ AuthorizationPromptPermission authorization_prompt_permission) {
// Per http://crbug.com/121738, we deliberately ignore saved logins for
// http*://www.google.com/ that were stored prior to 2012. (Google now uses
// https://accounts.google.com/ for all login forms, so these should be
@@ -149,7 +150,8 @@ CancelableTaskTracker::TaskId PasswordStore::GetLogins(
consumer,
ignore_logins_cutoff);
ScheduleTask(
- base::Bind(&PasswordStore::GetLoginsImpl, this, form, callback_runner));
+ base::Bind(&PasswordStore::GetLoginsImpl, this, form, callback_runner,
+ authorization_prompt_permission));
return id;
}

Powered by Google App Engine
This is Rietveld 408576698