Skip to content

Commit

Permalink
add new privacy feature and sub feature for tab multi-selection (#1165)
Browse files Browse the repository at this point in the history
**Required**:

Task/Issue URL:
https://app.asana.com/0/392891325557410/1209149612843161/f
iOS PR:  n/a
macOS PR: n/a
What kind of version bump will this require?: minor

**Description**:
Adds feature and sub feature flag. 

Note: There will be no iOS/macOS update as it does not break the app. 

**Steps to test this PR**:
1. Drag into iOS and run the app
1. Drag into macOS and run the app
  • Loading branch information
brindy authored Jan 15, 2025
1 parent a2a5a32 commit 6d7f900
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public enum PrivacyFeature: String {
case experimentTest
case forceOldAppDelegate
case htmlNewTabPage
case tabManager
}

/// An abstraction to be implemented by any "subfeature" of a given `PrivacyConfiguration` feature.
Expand All @@ -78,6 +79,14 @@ public protocol PrivacySubfeature: RawRepresentable where RawValue == String {

// MARK: Subfeature definitions

public enum TabManagerSubfeature: String, PrivacySubfeature {
public var parent: PrivacyFeature {
.tabManager
}

case multiSelection
}

public enum AutofillSubfeature: String, PrivacySubfeature {
public var parent: PrivacyFeature {
.autofill
Expand Down

0 comments on commit 6d7f900

Please sign in to comment.