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

Unified Diff: chrome/browser/password_manager/password_form_manager.h

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_form_manager.h
diff --git a/chrome/browser/password_manager/password_form_manager.h b/chrome/browser/password_manager/password_form_manager.h
index 877729908a3cae9cd0c2c6adcad5cd15fed6e344..5c7633cfb4e28dd0b6311db646a3b358cdc34c1b 100644
--- a/chrome/browser/password_manager/password_form_manager.h
+++ b/chrome/browser/password_manager/password_form_manager.h
@@ -11,6 +11,7 @@
#include "build/build_config.h"
#include "base/stl_util.h"
+#include "chrome/browser/password_manager/password_store.h"
#include "chrome/browser/password_manager/password_store_consumer.h"
#include "content/public/common/password_form.h"
@@ -19,7 +20,6 @@ class WebContents;
} // namespace content
class PasswordManager;
-class PasswordStore;
class Profile;
// Per-password-form-{on-page, dialog} class responsible for interactions
@@ -55,7 +55,8 @@ class PasswordFormManager : public PasswordStoreConsumer {
ActionMatch action_match) const;
// Retrieves potential matching logins from the database.
- void FetchMatchingLoginsFromPasswordStore();
+ void FetchMatchingLoginsFromPasswordStore(
+ PasswordStore::AuthorizationPromptPermission permission_to_prompt);
// Simple state-check to verify whether this object as received a callback
// from the PasswordStore and completed its matching phase. Note that the

Powered by Google App Engine
This is Rietveld 408576698