commit | 6da308ad98065e43393be2c8ec841189f8d6569b | [log] [tgz] |
---|---|---|
author | spqchan <[email protected]> | Fri Aug 10 19:19:53 2018 |
committer | Commit Bot <[email protected]> | Fri Aug 10 19:19:53 2018 |
tree | d980e02affb477056c73bf54359c7314f907a09b | |
parent | 8b1416232ce40b42c76bf35e7ca601b842fbef9b [diff] [blame] |
[Desktop] Billing Interstitial UI This CL implements downloading the billing blacklist and then triggering the billing interstitial UI. The page info bubble is updated to support the billing interstitial. The billing page info and the interstitial UI is placed behind a new safebrowsing feature flag, "BillingInterstitial". Bug: 867518 Change-Id: Id87463b272a9dcc4a3e3d95faaa48a942a2cb664 Reviewed-on: https://chromium-review.googlesource.com/1163286 Reviewed-by: Adrienne Porter Felt <[email protected]> Reviewed-by: Varun Khaneja <[email protected]> Reviewed-by: Mustafa Emre Acer <[email protected]> Commit-Queue: Sarah Chan <[email protected]> Cr-Commit-Position: refs/heads/master@{#582283}
diff --git a/chrome/browser/ui/page_info/page_info.cc b/chrome/browser/ui/page_info/page_info.cc index 5248f8f4..c6f7db41 100644 --- a/chrome/browser/ui/page_info/page_info.cc +++ b/chrome/browser/ui/page_info/page_info.cc
@@ -1052,5 +1052,11 @@ : base::string16(); #endif break; + case security_state::MALICIOUS_CONTENT_STATUS_BILLING: +#if defined(SAFE_BROWSING_DB_LOCAL) + *status = PageInfo::SITE_IDENTITY_STATUS_BILLING; + *details = l10n_util::GetStringUTF16(IDS_PAGE_INFO_BILLING_DETAILS); +#endif + break; } }