Chromium Code Reviews| Index: components/security_interstitials/core/controller_client.cc |
| diff --git a/components/security_interstitials/core/controller_client.cc b/components/security_interstitials/core/controller_client.cc |
| index a17f3f19f904e603c924470906928ce20c284b8a..1992fb054430a01760ea15c04af044f14419b5d4 100644 |
| --- a/components/security_interstitials/core/controller_client.cc |
| +++ b/components/security_interstitials/core/controller_client.cc |
| @@ -50,4 +50,13 @@ void ControllerClient::OpenExtendedReportingPrivacyPolicy() { |
| OpenUrlInCurrentTab(privacy_url); |
| } |
| +void ControllerClient::OpenExtendedReportingWhitepaper() { |
| + metrics_helper_->RecordUserInteraction(MetricsHelper::SHOW_WHITEPAPER); |
| + GURL privacy_url( |
|
Nathan Parker
2016/09/13 01:06:42
How about "whitepaper_url" for the var name?
felt
2016/09/13 01:45:11
Done.
|
| + l10n_util::GetStringUTF8(IDS_SAFE_BROWSING_WHITEPAPER_URL)); |
| + privacy_url = |
| + google_util::AppendGoogleLocaleParam(privacy_url, GetApplicationLocale()); |
| + OpenUrlInCurrentTab(privacy_url); |
| +} |
| + |
| } // namespace security_interstitials |