diff --git a/Core/ContentBlocking.swift b/Core/ContentBlocking.swift index c407713296..b4889b7324 100644 --- a/Core/ContentBlocking.swift +++ b/Core/ContentBlocking.swift @@ -118,6 +118,15 @@ public final class ContentBlocking { case .contentBlockingCompilationTime: domainEvent = .contentBlockingCompilationTime + + case .contentBlockingLookupRulesSucceeded: + domainEvent = .contentBlockingLookupRulesSucceeded + + case .contentBlockingFetchRulesSucceeded: + domainEvent = .contentBlockingFetchRulesSucceeded + + case .contentBlockingLookupAndFetchFailed: + domainEvent = .contentBlockingLookupAndFetchFailed } if let error = error { diff --git a/Core/PixelEvent.swift b/Core/PixelEvent.swift index 85416a001c..88db8c3842 100644 --- a/Core/PixelEvent.swift +++ b/Core/PixelEvent.swift @@ -517,6 +517,9 @@ extension Pixel { component: ContentBlockerDebugEvents.Component) case contentBlockingCompilationTime + case contentBlockingLookupRulesSucceeded + case contentBlockingFetchRulesSucceeded + case contentBlockingLookupAndFetchFailed case ampBlockingRulesCompilationFailed @@ -1354,6 +1357,9 @@ extension Pixel.Event { case .contentBlockingCompilationTime: return "m_content_blocking_compilation_time" + case .contentBlockingLookupRulesSucceeded: return "m_content_blocking_lookup_rules_succeeded" + case .contentBlockingFetchRulesSucceeded: return "m_content_blocking_fetch_rules_succeeded" + case .contentBlockingLookupAndFetchFailed: return "m_content_blocking_lookup_and_fetch_failed" case .ampBlockingRulesCompilationFailed: return "m_debug_amp_rules_compilation_failed" case .webKitDidTerminate: return "m_d_wkt"