Index: components/autofill/content/renderer/password_form_conversion_utils.h |
diff --git a/components/autofill/content/renderer/password_form_conversion_utils.h b/components/autofill/content/renderer/password_form_conversion_utils.h |
index 0c091f33d2c9989c2313578c2fbcdb6da884de85..d931e2a0c8076db2d0125369f177e81b58d4fdbc 100644 |
--- a/components/autofill/content/renderer/password_form_conversion_utils.h |
+++ b/components/autofill/content/renderer/password_form_conversion_utils.h |
@@ -65,6 +65,11 @@ scoped_ptr<PasswordForm> CreatePasswordFormFromUnownedInputElements( |
const ModifiedValues* nonscript_modified_values, |
const FormsPredictionsMap* form_predictions); |
+// Checks in a case-insensitive way if the autocomplete attribute for the given |
+// |element| is present and has the specified |value_in_lowercase|. |
+bool HasAutocompleteAttributeValue(const blink::WebInputElement& element, |
+ const char* value_in_lowercase); |
+ |
} // namespace autofill |
#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H__ |