This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 473
Issue #11698: Add an updater to periodically fetch the Contile Top Sites #11721
Merged
Conversation
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
gabrielluong
force-pushed
the
11698
branch
2 times, most recently
from
February 15, 2022 06:05
68e3f52
to
8425113
Compare
gabrielluong
commented
Feb 15, 2022
.../service/contile/src/main/java/mozilla/components/service/contile/ContileTopSitesProvider.kt
Show resolved
Hide resolved
3 tasks
gabrielluong
commented
Feb 16, 2022
...s/service/contile/src/main/java/mozilla/components/service/contile/ContileTopSitesUpdater.kt
Show resolved
Hide resolved
Amejia481
reviewed
Feb 16, 2022
...contile/src/test/java/mozilla/components/service/contile/ContileTopSitesUpdaterWorkerTest.kt
Outdated
Show resolved
Hide resolved
Amejia481
reviewed
Feb 16, 2022
...vice/contile/src/test/java/mozilla/components/service/contile/ContileTopSitesUseCasesTest.kt
Outdated
Show resolved
Hide resolved
Amejia481
reviewed
Feb 16, 2022
.../service/contile/src/main/java/mozilla/components/service/contile/ContileTopSitesUseCases.kt
Show resolved
Hide resolved
gabrielluong
force-pushed
the
11698
branch
2 times, most recently
from
February 17, 2022 21:40
ab606d4
to
79a980e
Compare
Amejia481
approved these changes
Feb 17, 2022
csadilek
reviewed
Feb 17, 2022
private val client: Client, | ||
private val endPointURL: String = CONTILE_ENDPOINT_URL, | ||
private val maxCacheAgeInMinutes: Long = -1 | ||
) : TopSitesProvider { | ||
|
||
private val applicationContext = context.applicationContext |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me now with the context things figure out! Did you want to address / handle mozilla-mobile/fenix#23781 (comment) here as well or in a separate PR. I think the Fenix integration is dependent on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am gonna do that separately.
…Contile Top Sites
gabrielluong
added
🛬 needs landing
PRs that are ready to land
and removed
🕵️♀️ needs review
PRs that need to be reviewed
labels
Feb 17, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #11698. Fenix integration mozilla-mobile/fenix#23781.
Pull Request checklist
After merge