DescriptionIntegrate throttling logic into AffiliationBackend.
This CL also changes ownership of the TickClock object used by the AffiliationFetchThrottler, so that it is now owned by the AffiliationBackend.
Furthermore, this CL makes the AffiliationBackend no longer rely on using ThreadTaskRunnerHandle to schedule asynchronous operations, but instead take a SingleThreadTaskRunner to use in its constructor. This allows delayed tasks (which are now present) to be posted to the correct task runner in tests too (namely, in AffiliationServiceTests).
BUG=437865
Committed: https://crrev.com/4865f4b36ecdda55bd88e9ffc1cacb1ac92f3cbc
Cr-Commit-Position: refs/heads/master@{#320887}
Patch Set 1 #Patch Set 2 : Cleaning CL up. #Patch Set 3 : Fix wording. #
Total comments: 2
Patch Set 4 : Addressed comment. #Messages
Total messages: 11 (5 generated)
|