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

Unified Diff: components/autofill/core/browser/autofill_manager_delegate.h

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address llya's nits and fix a bug in form structure unit test. Created 7 years, 3 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/autofill/core/browser/autofill_manager_delegate.h
diff --git a/components/autofill/core/browser/autofill_manager_delegate.h b/components/autofill/core/browser/autofill_manager_delegate.h
index 374c105fd5dce8fd96a5d973e1e59953fcba6259..0cea2135d9b1b3fd39b958d8ec59e19eed1a3f93 100644
--- a/components/autofill/core/browser/autofill_manager_delegate.h
+++ b/components/autofill/core/browser/autofill_manager_delegate.h
@@ -142,6 +142,11 @@ class AutofillManagerDelegate {
virtual void UpdateAutocheckoutStep(
AutocheckoutStepType step_type,
AutocheckoutStepStatus step_status) = 0;
+
+ // Pass the form structures to the password generation manager to detect
+ // account creation forms.
+ virtual void DetectAccountCreationForms(
+ const std::vector<autofill::FormStructure*>& forms) = 0;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698