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

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

Issue 584433002: Add UI for the new harmful download warning (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 6 years, 3 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/app/generated_resources.grd ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.cc » ('j') | 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.h
diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
index bb5c4f1a0a71f2ed67629cf59e57bb476e4a3a66..60a0280c3abaa44cd778f81d6bc71b7923eb7486 100644
--- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
+++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.h
@@ -216,6 +216,7 @@ class SafeBrowsingBlockingPage : public content::InterstitialPageDelegate {
// Which type of interstitial this is.
enum {
TYPE_MALWARE,
+ TYPE_HARMFUL,
TYPE_PHISHING,
} interstitial_type_;
@@ -232,6 +233,7 @@ class SafeBrowsingBlockingPage : public content::InterstitialPageDelegate {
// Fills the passed dictionary with the values to be passed to the template
// when creating the HTML.
void PopulateMalwareLoadTimeData(base::DictionaryValue* load_time_data);
+ void PopulateHarmfulLoadTimeData(base::DictionaryValue* load_time_data);
void PopulatePhishingLoadTimeData(base::DictionaryValue* load_time_data);
#if defined(ENABLE_EXTENSIONS)
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698