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

Unified Diff: components/safe_browsing/base_blocking_page.h

Issue 2950863002: Implement code for Start/Finish threat details collection in WebView. (Closed)
Patch Set: fix comment Created 3 years, 6 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/safe_browsing/base_blocking_page.h
diff --git a/components/safe_browsing/base_blocking_page.h b/components/safe_browsing/base_blocking_page.h
index d4a8c674cddb10316f7f2926e8c502dffb439925..1757d2e4f121e980b4f5da882c97ded081702f73 100644
--- a/components/safe_browsing/base_blocking_page.h
+++ b/components/safe_browsing/base_blocking_page.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "components/safe_browsing/base_ui_manager.h"
+#include "components/safe_browsing_db/v4_protocol_manager_util.h"
#include "components/security_interstitials/content/security_interstitial_page.h"
#include "components/security_interstitials/core/base_safe_browsing_error_ui.h"
#include "components/security_interstitials/core/metrics_helper.h"
@@ -52,6 +53,9 @@ class BaseBlockingPage
void OnDontProceed() override;
void CommandReceived(const std::string& command) override;
+ // Checks the threat type to decide if we should report ThreatDetails.
+ static bool ShouldReportThreatDetails(SBThreatType threat_type);
+
protected:
// Don't instantiate this class directly, use ShowBlockingPage instead.
BaseBlockingPage(
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_blocking_page.cc ('k') | components/safe_browsing/base_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698