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

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

Issue 2890703002: SafeBrowsing: allow WebView to customize the Help Center URL (Closed)
Patch Set: Rebase and fix compile errors, no logic change 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: 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 f979d96e055b90522abcf8159a8bfd656243f855..b0ccf2600d5eb9979de6e968b1d2a460a8f03182 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc
@@ -40,6 +40,8 @@ const char kEventNameHarmful[] = "harmful_interstitial_";
const char kEventNamePhishing[] = "phishing_interstitial_";
const char kEventNameOther[] = "safebrowsing_other_interstitial_";
+const char kHelpCenterLink[] = "cpn_safe_browsing";
+
} // namespace
// static
@@ -76,7 +78,8 @@ class SafeBrowsingBlockingPageFactoryImpl
web_contents->GetBrowserContext()->IsOffTheRecord(),
IsExtendedReportingEnabled(*prefs), IsScout(*prefs),
is_proceed_anyway_disabled,
- BaseBlockingPage::IsMainPageLoadBlocked(unsafe_resources));
+ BaseBlockingPage::IsMainPageLoadBlocked(unsafe_resources),
+ kHelpCenterLink);
return new SafeBrowsingBlockingPage(ui_manager, web_contents,
main_frame_url, unsafe_resources,

Powered by Google App Engine
This is Rietveld 408576698