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 f1f84bae9234cf41f799d7832869d78016a48609..89bf5077137c4cc8de381b2a46b91774c0ecb850 100644 |
--- a/components/autofill/content/renderer/form_autofill_util.h |
+++ b/components/autofill/content/renderer/form_autofill_util.h |
@@ -75,6 +75,10 @@ class ScopedLayoutPreventer { |
DISALLOW_COPY_AND_ASSIGN(ScopedLayoutPreventer); |
}; |
+// Helper function that strips any authentication data, as well as query and |
+// ref portions of URL |
+GURL StripAuthAndParams(const GURL& gurl); |
+ |
// Extract FormData from the form element and return whether the operation was |
// successful. |
bool ExtractFormData(const blink::WebFormElement& form_element, FormData* data); |