Chromium Code Reviews| Index: components/autofill/content/renderer/form_autofill_util.h |
| diff --git a/components/autofill/content/renderer/form_autofill_util.h b/components/autofill/content/renderer/form_autofill_util.h |
| index 0f0f6c2e134ba13cfde638658a9925f5056605d8..4a6abf55e4738eb201d0d689b346b084ce068cff 100644 |
| --- a/components/autofill/content/renderer/form_autofill_util.h |
| +++ b/components/autofill/content/renderer/form_autofill_util.h |
| @@ -146,10 +146,11 @@ void PreviewForm(const FormData& form, |
| // Clears the placeholder values and the auto-filled background for any fields |
| // in the form containing |node| that have been previewed. Resets the |
| -// autofilled state of |node| to |was_autofilled|. Returns false if the form is |
| -// not found. |
| +// autofilled state of |node| to |was_autofilled| and password node autofilled |
| +// state to |was_password_autofilled|. Returns false if the form is not found. |
| bool ClearPreviewedFormWithElement(const blink::WebFormControlElement& element, |
| - bool was_autofilled); |
| + bool was_autofilled, |
| + bool was_password_autofilled); |
|
Ilya Sherman
2014/05/13 00:44:05
There might be multiple passwords. I think it mig
ziran.sun
2014/05/14 15:35:12
Done.
|
| // Returns true if |form| has any auto-filled fields. |
| bool FormWithElementIsAutofilled(const blink::WebInputElement& element); |