Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Issue 985053002: [ServiceWorkerCache] Cache and CacheStorage creation UMA (Closed)

Created:
5 years, 9 months ago by jkarlin
Modified:
5 years, 9 months ago
Reviewers:
michaeln, Ilya Sherman
CC:
chromium-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, asvitkine+watch_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch, jsbell
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

We're finding corrupted backends in the wild. As a first measurement step, find out how often opens and creation fail. Also refactored casing of an enum. BUG=461654 Committed: https://crrev.com/f04de1ef2aa2bae922839ab62cb9f2efb8578a10 Cr-Commit-Position: refs/heads/master@{#320893}

Patch Set 1 #

Patch Set 2 : Also monitor cache storage creation #

Total comments: 14

Patch Set 3 : Rebase and clang formatting #

Patch Set 4 : Address comments from PS 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -71 lines) Patch
M content/browser/service_worker/service_worker_cache.h View 2 chunks +10 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_cache.cc View 1 2 3 28 chunks +43 lines, -36 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_listener.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_storage.cc View 1 2 3 6 chunks +10 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_storage_manager_unittest.cc View 7 chunks +9 lines, -9 lines 0 comments Download
M content/browser/service_worker/service_worker_cache_unittest.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 3 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
jkarlin
michaeln: Please review for service_worker/ isherman: Please review histograms.xml Thanks!
5 years, 9 months ago (2015-03-06 15:53:10 UTC) #1
michaeln
On 2015/03/06 15:53:10, jkarlin wrote: > michaeln: Please review for service_worker/ > isherman: Please review ...
5 years, 9 months ago (2015-03-13 19:47:30 UTC) #2
jkarlin
Somehow the reviewers didn't get added. Thanks for noticing michaeln!
5 years, 9 months ago (2015-03-13 19:51:22 UTC) #4
michaeln
lgtm (ptal at the naming comments?) and fyi @jsbell https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache_storage.cc File content/browser/service_worker/service_worker_cache_storage.cc (right): https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache_storage.cc#newcode617 content/browser/service_worker/service_worker_cache_storage.cc:617: ...
5 years, 9 months ago (2015-03-13 22:47:16 UTC) #5
Ilya Sherman
https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache.cc File content/browser/service_worker/service_worker_cache.cc (right): https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache.cc#newcode12 content/browser/service_worker/service_worker_cache.cc:12: #include "base/metrics/histogram.h" Please include histogram_macros instead. https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache.cc#newcode1229 content/browser/service_worker/service_worker_cache.cc:1229: error, ...
5 years, 9 months ago (2015-03-13 22:58:20 UTC) #6
jkarlin
Thanks all! PTAL isherman@ https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache.cc File content/browser/service_worker/service_worker_cache.cc (right): https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache.cc#newcode12 content/browser/service_worker/service_worker_cache.cc:12: #include "base/metrics/histogram.h" On 2015/03/13 22:58:19, ...
5 years, 9 months ago (2015-03-14 01:47:19 UTC) #7
jkarlin
On 2015/03/14 01:47:19, jkarlin wrote: > Thanks all! PTAL isherman@ > > https://codereview.chromium.org/985053002/diff/20001/content/browser/service_worker/service_worker_cache.cc > File ...
5 years, 9 months ago (2015-03-16 21:08:17 UTC) #8
Ilya Sherman
histograms lgtm, thanks
5 years, 9 months ago (2015-03-17 01:47:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985053002/60001
5 years, 9 months ago (2015-03-17 10:13:26 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-17 11:28:01 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-17 11:29:18 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f04de1ef2aa2bae922839ab62cb9f2efb8578a10
Cr-Commit-Position: refs/heads/master@{#320893}

Powered by Google App Engine
This is Rietveld 408576698