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

Unified Diff: components/autofill/content/common/autofill_types_struct_traits.h

Issue 2604453003: Show Form-Not-Secure warning on page load (Closed)
Patch Set: meacer, jochen comments Created 3 years, 12 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/common/autofill_types_struct_traits.h
diff --git a/components/autofill/content/common/autofill_types_struct_traits.h b/components/autofill/content/common/autofill_types_struct_traits.h
index 8e2f74031abd12832990920a588b876d75b37229..954c2e195e2d2c7ebdc01b4d32c5b5661eb84e3f 100644
--- a/components/autofill/content/common/autofill_types_struct_traits.h
+++ b/components/autofill/content/common/autofill_types_struct_traits.h
@@ -358,6 +358,11 @@ struct StructTraits<autofill::mojom::PasswordFormFillDataDataView,
return r.is_possible_change_password_form;
}
+ static bool show_form_not_secure_warning_on_autofill(
+ const autofill::PasswordFormFillData& r) {
+ return r.show_form_not_secure_warning_on_autofill;
+ }
+
static bool Read(autofill::mojom::PasswordFormFillDataDataView data,
autofill::PasswordFormFillData* out);
};

Powered by Google App Engine
This is Rietveld 408576698