DescriptionServiceWorker: More accurate StartWorker result and UMA
This adds SERVICE_WORKER_ERROR_DISK_CACHE to indicate
failure to read from the disk cache. It also re-enables
logging of StartWorker for redundant workers. This was
previously disabled because we got a lot of "failed" spam
for updates that get aborted when there is no script change,
so I've changed StartWorker to fail with SW_ERROR_EXISTS in
that case.
This patch is a step in the direction of evicting a SW
that can't be read from disk cache.
BUG=448003
Committed: https://crrev.com/fb74da9cda4d943f453ad8e5de7b830174faf431
Cr-Commit-Position: refs/heads/master@{#326923}
Patch Set 1 #Patch Set 2 : rm eviction stuff #Patch Set 3 : sync #
Total comments: 3
Messages
Total messages: 19 (6 generated)
|