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

Unified Diff: components/autofill/content/renderer/password_form_conversion_utils.h

Issue 2893633002: [Password Manager] Make filling robust against changing url by JavaScript (Closed)
Patch Set: fix merge Created 3 years, 7 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/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 77358e47c34bc15e2e71b39086f4b3804c1efc3e..0cebba2f265020f30360f9406c6e742da33beff8 100644
--- a/components/autofill/content/renderer/password_form_conversion_utils.h
+++ b/components/autofill/content/renderer/password_form_conversion_utils.h
@@ -72,6 +72,9 @@ bool HasCreditCardAutocompleteAttributes(const blink::WebInputElement& element);
// credit card verification field.
bool IsCreditCardVerificationPasswordField(const blink::WebInputElement& field);
+// The "Realm" for the sign-on. This is scheme, host, port.
+std::string GetSignOnRealm(const GURL& origin);
+
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_PASSWORD_FORM_CONVERSION_UTILS_H__

Powered by Google App Engine
This is Rietveld 408576698