forked from mozilla-mobile/firefox-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1861415 - Filter out sponsored URLs from other suggestion provide…
…rs in Fenix. This commit: * Adds an `AwesomeBarView.SearchResultFilter` type, with variants to only include results for the current search engine (`CurrentEngine`) and exclude results with a matching query parameter (`ExcludeSponsored`). * Adds a `String.urlContainsQueryParameters` extension function for using the `ExcludeSponsored` filter with the synced tabs provider. * Refactors the `AwesomeBarView.get*Provider` methods to take an optional `SearchResultFilter`.
- Loading branch information
1 parent
8dcfad5
commit 4fd5f8f
Showing
4 changed files
with
560 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.