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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc

Issue 344943002: Security interstitial tweaks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 6 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
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
index 467b8bfec387be3ead26062094aec160307d10ea..5875cb377e678d39fd49a2bf552b971cc9147f5c 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -1301,7 +1301,9 @@ void SafeBrowsingBlockingPageV3::PopulateMalwareLoadTimeData(
"heading", l10n_util::GetStringUTF16(IDS_MALWARE_V3_HEADING));
load_time_data->SetString(
"primaryParagraph",
- l10n_util::GetStringUTF16(IDS_MALWARE_V3_PRIMARY_PARAGRAPH));
+ l10n_util::GetStringFUTF16(
+ IDS_MALWARE_V3_PRIMARY_PARAGRAPH,
+ base::UTF8ToUTF16(url_.host())));
if (trial_condition_ == kCondV3History) {
load_time_data->SetString(
"explanationParagraph",
« no previous file with comments | « chrome/browser/resources/ssl/interstitial_v2.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698