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

Unified Diff: components/security_interstitials/core/safe_browsing_loud_error_ui.cc

Issue 2898593002: WebView: choose loud vs. quiet interstitial (Closed)
Patch Set: Rebase, fix merge conflicts 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: components/security_interstitials/core/safe_browsing_loud_error_ui.cc
diff --git a/components/security_interstitials/core/safe_browsing_loud_error_ui.cc b/components/security_interstitials/core/safe_browsing_loud_error_ui.cc
index ebfcfb5aef3d5c495bf3bde2497e5c25eb79cb9d..b1211903c63de3652deda15ac3a89fe1a40f1b43 100644
--- a/components/security_interstitials/core/safe_browsing_loud_error_ui.cc
+++ b/components/security_interstitials/core/safe_browsing_loud_error_ui.cc
@@ -9,6 +9,7 @@
#include "base/strings/stringprintf.h"
#include "base/strings/utf_string_conversions.h"
#include "components/google/core/browser/google_util.h"
+#include "components/grit/components_resources.h"
#include "components/security_interstitials/core/common_string_util.h"
#include "components/security_interstitials/core/metrics_helper.h"
#include "components/strings/grit/components_strings.h"
@@ -304,4 +305,8 @@ void SafeBrowsingLoudErrorUI::PopulateExtendedReportingOption(
is_extended_reporting_enabled());
}
+int SafeBrowsingLoudErrorUI::GetHTMLTemplateId() const {
+ return IDR_SECURITY_INTERSTITIAL_HTML;
+};
+
} // security_interstitials

Powered by Google App Engine
This is Rietveld 408576698