Skip to content

Commit

Permalink
Add adAttributionReporting feature with subfeatures
Browse files Browse the repository at this point in the history
  • Loading branch information
dus7 committed Oct 30, 2024
1 parent e5946ee commit d128809
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public enum PrivacyFeature: String {
case networkProtection
case aiChat
case contextualOnboarding
case adAttributionReporting
}

/// An abstraction to be implemented by any "subfeature" of a given `PrivacyConfiguration` feature.
Expand Down Expand Up @@ -183,3 +184,8 @@ public enum SyncPromotionSubfeature: String, PrivacySubfeature {
case bookmarks
case passwords
}

public enum AdAttributionReportingSubfeature: String, PrivacySubfeature {
public var parent: PrivacyFeature { .adAttributionReporting }
case includeToken
}

0 comments on commit d128809

Please sign in to comment.