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

Unified Diff: components/password_manager/core/browser/password_form_manager.h

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: components/password_manager/core/browser/password_form_manager.h
diff --git a/components/password_manager/core/browser/password_form_manager.h b/components/password_manager/core/browser/password_form_manager.h
index 6eee71ab361022140ee6e379d7206769493c66e3..27f4cd33be5efbd999112457c64b274342ae46ce 100644
--- a/components/password_manager/core/browser/password_form_manager.h
+++ b/components/password_manager/core/browser/password_form_manager.h
@@ -77,11 +77,7 @@ class PasswordFormManager : public PasswordStoreConsumer {
// Retrieves potential matching logins from the database. In addition the
// statistics is retrived on platforms with the password bubble.
- // |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 FetchDataFromPasswordStore(
- PasswordStore::AuthorizationPromptPolicy prompt_policy);
+ void FetchDataFromPasswordStore();
// Simple state-check to verify whether this object as received a callback
// from the PasswordStore and completed its matching phase. Note that the
@@ -569,10 +565,9 @@ class PasswordFormManager : public PasswordStoreConsumer {
// user has entered.
FormType form_type_;
- // Null unless FetchMatchingLoginsFromPasswordStore has been called again
- // without the password store returning results in the meantime. In that case
- // this stores the prompt policy for the refresh call.
- scoped_ptr<PasswordStore::AuthorizationPromptPolicy> next_prompt_policy_;
+ // False unless FetchMatchingLoginsFromPasswordStore has been called again
+ // without the password store returning results in the meantime.
+ bool need_to_refetch_;
DISALLOW_COPY_AND_ASSIGN(PasswordFormManager);
};

Powered by Google App Engine
This is Rietveld 408576698