Index: components/autofill/content/renderer/password_autofill_agent.h |
diff --git a/components/autofill/content/renderer/password_autofill_agent.h b/components/autofill/content/renderer/password_autofill_agent.h |
index 17ae4831fe58a5aec23fe2598aa329f18ea330f7..d507f99f0efc67324a4c320a0c170937e7c0b4c1 100644 |
--- a/components/autofill/content/renderer/password_autofill_agent.h |
+++ b/components/autofill/content/renderer/password_autofill_agent.h |
@@ -124,6 +124,7 @@ class PasswordAutofillAgent : public content::RenderViewObserver { |
// RenderView IPC handlers: |
void OnFillPasswordForm(const PasswordFormFillData& form_data); |
+ void OnRemoveSavedPassword(const base::string16& username_to_remove); |
// Scans the given frame for password forms and sends them up to the browser. |
// If |only_visible| is true, only forms visible in the layout are sent. |
@@ -183,6 +184,9 @@ class PasswordAutofillAgent : public content::RenderViewObserver { |
// Pointer to the WebView. Used to access page scale factor. |
blink::WebView* web_view_; |
+ // Currently selected form |
+ blink::WebFormElement current_form_; |
+ |
// Set if the user might be submitting a password form on the current page, |
// but the submit may still fail (i.e. doesn't pass JavaScript validation). |
FrameToPasswordFormMap provisionally_saved_forms_; |