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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 2505533002: Http Bad: Add "Learn more" sublabel to warning message and make it clickable (Closed)
Patch Set: rebase Created 4 years 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/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 3de9157f9a094776a3d5bc62002a367986f4f86a..5fa3865f976babe87c232e41f7d7108a4fabe5a2 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -190,6 +190,8 @@ Suggestion CreateHttpWarningMessageSuggestionItem(const GURL& source_url) {
l10n_util::GetStringUTF16(IDS_AUTOFILL_CREDIT_CARD_HTTP_WARNING_MESSAGE));
cc_field_http_warning_suggestion.frontend_id =
POPUP_ITEM_ID_HTTP_NOT_SECURE_WARNING_MESSAGE;
+ cc_field_http_warning_suggestion.label =
+ l10n_util::GetStringUTF16(IDS_AUTOFILL_HTTP_WARNING_LEARN_MORE);
cc_field_http_warning_suggestion.icon =
(source_url.is_valid() && source_url.SchemeIs("http"))
? base::ASCIIToUTF16("httpWarning")

Powered by Google App Engine
This is Rietveld 408576698