0
Files
src/tools
Rayan Kanso ac0b91e2c7 [Background Fetch] Simplify fetch storage workflow.
In addition, MatchAll should return all records, including unprocessed
ones. To support this, the following changes were made:
- Creating a registration also stores all the requests with an empty
response in the cache.
- When an individual request is processed, the failure reason (if any)
is stored in the metadata.
- The logic of GetSettledFetchesTask was moved to
MarkRegistrationForDeletionTask. It checks the metadata rather than the
cache itself to find a failure reason (if any).
- Match/MatchAll logic was moved to a new database task
(MatchRequestsTask). A new API call was added to the cache storage to
allow querying request/response pairs. If a response is found to be
empty it will be exposed as a nullptr.

Change-Id: I631a3ef3da95117aed759a675fe591da5201eeca
Reviewed-on: https://chromium-review.googlesource.com/c/1280851
Reviewed-by: Peter Beverloo <peter@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Reviewed-by: Joshua Bell <jsbell@chromium.org>
Reviewed-by: Ben Kelly <wanderview@chromium.org>
Reviewed-by: Mugdha Lakhani <nator@chromium.org>
Commit-Queue: Rayan Kanso <rayankans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600768}
2018-10-18 15:28:27 +00:00
..
2018-10-10 10:02:15 +00:00
2018-07-31 17:18:34 +00:00
2018-09-13 19:19:55 +00:00
2018-10-02 15:16:26 +00:00
2018-10-08 23:49:23 +00:00
2018-08-27 18:30:44 +00:00
2018-08-08 04:00:49 +00:00
2018-08-11 16:13:43 +00:00