diff --git a/Core/ContentBlocking.swift b/Core/ContentBlocking.swift index c407713296..ed3f02d1aa 100644 --- a/Core/ContentBlocking.swift +++ b/Core/ContentBlocking.swift @@ -118,6 +118,18 @@ public final class ContentBlocking { case .contentBlockingCompilationTime: domainEvent = .contentBlockingCompilationTime + + case .contentBlockingLookupRulesSucceeded: + domainEvent = .contentBlockingLookupRulesSucceeded + + case .contentBlockingFetchLRCSucceeded: + domainEvent = .contentBlockingFetchLRCSucceeded + + case .contentBlockingNoMatchInLRC: + domainEvent = .contentBlockingNoMatchInLRC + + case .contentBlockingLRCMissing: + domainEvent = .contentBlockingLRCMissing } if let error = error { diff --git a/Core/PixelEvent.swift b/Core/PixelEvent.swift index b9765d989f..c3e29261d6 100644 --- a/Core/PixelEvent.swift +++ b/Core/PixelEvent.swift @@ -518,6 +518,10 @@ extension Pixel { component: ContentBlockerDebugEvents.Component) case contentBlockingCompilationTime + case contentBlockingLookupRulesSucceeded + case contentBlockingFetchLRCSucceeded + case contentBlockingNoMatchInLRC + case contentBlockingLRCMissing case ampBlockingRulesCompilationFailed @@ -1362,6 +1366,11 @@ extension Pixel.Event { case .contentBlockingCompilationTime: return "m_content_blocking_compilation_time" + case .contentBlockingLookupRulesSucceeded: return "m_content_blocking_lookup_rules_succeeded" + case .contentBlockingFetchLRCSucceeded: return "m_content_blocking_fetch_lrc_succeeded" + case .contentBlockingNoMatchInLRC: return "m_content_blocking_no_match_in_lrc" + case .contentBlockingLRCMissing: return "m_content_blocking_lrc_missing" + case .ampBlockingRulesCompilationFailed: return "m_debug_amp_rules_compilation_failed" case .webKitDidTerminate: return "m_d_wkt" diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 7078ac3c8a..2c7087b832 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -11248,7 +11248,7 @@ repositoryURL = "https://github.com/DuckDuckGo/BrowserServicesKit"; requirement = { kind = exactVersion; - version = 211.1.3; + version = 212.0.0; }; }; 9F8FE9472BAE50E50071E372 /* XCRemoteSwiftPackageReference "lottie-spm" */ = { diff --git a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index e72e1ceabf..19a857ee61 100644 --- a/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -32,8 +32,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/DuckDuckGo/BrowserServicesKit", "state" : { - "revision" : "f83b1f5ebd328bc2447d1a3793149bb21037d685", - "version" : "211.1.3" + "revision" : "5a24a885425dcb5626353bf5a8ca6af79c44c1cb", + "version" : "212.0.0" } }, {