[Query Tiles]: Fix instant fetch not reset first flow mark.
If user turns on the instant-fetch flag after the first initial flow, and turn off again after fetch is done, the code path was broken and could never trigger the next normal flow. Fix is mark the first flow completed when ever OnFetchCompeleted called. Have unit test to cover this corner case. Bug: 1087476 Change-Id: Id763b2ad328b9ca0be3ad6849f778aca182c989f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2259013 Commit-Queue: Hesen Zhang <hesen@chromium.org> Auto-Submit: Hesen Zhang <hesen@chromium.org> Reviewed-by:Xing Liu <xingliu@chromium.org> Reviewed-by:
Min Qin <qinmin@chromium.org> Cr-Commit-Position: refs/heads/master@{#781464}
Showing
Please register or sign in to comment