DescriptionInitialize variations seed fetching via OnAppEnterForeground.
On Android, instead of calling StartRepeatedVariationsSeedFetch()
in chrome_browser_main.cc, this changes the code to instead have
that be called by the first call to OnAppEnterForeground().
This will allow (in a future change) to have the caller of
OnAppEnterForeground() to first set the restrict mode param,
before fetching gets initialized. (Otherwise, fetching was
being initialized too early before the param could be set.)
BUG=452605
Committed: https://crrev.com/391ece3aa22ebad761a63628dd10dfdef9028f7b
Cr-Commit-Position: refs/heads/master@{#313746}
Patch Set 1 : #
Messages
Total messages: 13 (4 generated)
|