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

Unified Diff: components/subresource_filter/core/common/activation_list.h

Issue 2733833002: Change logic for recording redirect pattern histograms. (Closed)
Patch Set: . Created 3 years, 9 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/subresource_filter/core/common/activation_list.h
diff --git a/components/subresource_filter/core/common/activation_list.h b/components/subresource_filter/core/common/activation_list.h
index c24118ba7158e1c13f3c082e1775eb67e39fbeb1..a3aac0357d087fd5d444074dcafce8eb8728adba 100644
--- a/components/subresource_filter/core/common/activation_list.h
+++ b/components/subresource_filter/core/common/activation_list.h
@@ -7,6 +7,8 @@
#include <iosfwd>
+#include "components/safe_browsing_db/util.h"
+
namespace subresource_filter {
enum class ActivationList {
@@ -19,6 +21,10 @@ enum class ActivationList {
// For logging use only.
std::ostream& operator<<(std::ostream& os, const ActivationList& type);
+ActivationList GetListForThreatTypeAndMetadata(
+ safe_browsing::SBThreatType threat_type,
+ safe_browsing::ThreatPatternType threat_type_metadata);
+
} // namespace subresource_filter
#endif // COMPONENTS_SUBRESOURCE_FILTER_CORE_COMMON_ACTIVATION_LIST_H_

Powered by Google App Engine
This is Rietveld 408576698