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

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

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_form_manager.h
diff --git a/chrome/browser/password_manager/password_form_manager.h b/chrome/browser/password_manager/password_form_manager.h
index 18cca65c44fc6f18fcd440ae72ae8aaac6682435..0f27d30b651b7b9daadd790c1a94c8bd5d9b345b 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 "components/autofill/core/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,11 @@ class PasswordFormManager : public PasswordStoreConsumer {
ActionMatch action_match) const;
// Retrieves potential matching logins from the database.
- void FetchMatchingLoginsFromPasswordStore();
+ // |prompt_policy| indicates whether it's permissible to prompt the user to
+ // authorize access to locked passwords. This argument is only used on
+ // platforms that support prompting the user for access (such as Mac OS).
+ void FetchMatchingLoginsFromPasswordStore(
+ PasswordStore::AuthorizationPromptPolicy prompt_policy);
// Simple state-check to verify whether this object as received a callback
// from the PasswordStore and completed its matching phase. Note that the
« no previous file with comments | « chrome/browser/password_manager/mock_password_store.h ('k') | chrome/browser/password_manager/password_form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698