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

Issue 303483007: ServiceWorker: Add UMA for ServiceWorkerDatabase (Closed)

Created:
6 years, 7 months ago by nhiroki
Modified:
6 years, 6 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

ServiceWorker: Add UMA for ServiceWorkerDatabase BUG=371675 TEST=n/a Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274793

Patch Set 1 : #

Total comments: 4

Patch Set 2 : revamp (separate read/write operation results) #

Total comments: 7

Patch Set 3 : rebase #

Patch Set 4 : Replace report functions with Handle{Open,Read,Write}Result() #

Patch Set 5 : address comments and fix rebase failures #

Total comments: 2

Patch Set 6 : change histogram label (diff is not available for histograms.xml) #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -118 lines) Patch
M content/browser/service_worker/service_worker_database.h View 1 2 3 2 chunks +14 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_database.cc View 1 2 3 4 19 chunks +219 lines, -116 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +30 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
nhiroki
PTAL, thanks!
6 years, 6 months ago (2014-05-29 11:42:55 UTC) #1
michaeln
https://codereview.chromium.org/303483007/diff/80001/content/browser/service_worker/service_worker_database.cc File content/browser/service_worker/service_worker_database.cc (right): https://codereview.chromium.org/303483007/diff/80001/content/browser/service_worker/service_worker_database.cc#newcode1011 content/browser/service_worker/service_worker_database.cc:1011: UMA_HISTOGRAM_ENUMERATION(kOperationErrorHistogramLabel, I'm not sure how fine grained we want ...
6 years, 6 months ago (2014-05-29 23:46:27 UTC) #2
nhiroki
Thank you for reviewing. Can you take another look? To record read/write operation result separately, ...
6 years, 6 months ago (2014-06-02 04:54:46 UTC) #3
michaeln
lgtm https://codereview.chromium.org/303483007/diff/90001/content/browser/service_worker/service_worker_database.cc File content/browser/service_worker/service_worker_database.cc (left): https://codereview.chromium.org/303483007/diff/90001/content/browser/service_worker/service_worker_database.cc#oldcode994 content/browser/service_worker/service_worker_database.cc:994: void ServiceWorkerDatabase::HandleError( The new code looks correct. It ...
6 years, 6 months ago (2014-06-03 02:09:09 UTC) #4
nhiroki
Thank you for your comments. I replaced reporting functions with Handle{Open,Read,Write}Results() as you commented. Can ...
6 years, 6 months ago (2014-06-03 06:59:32 UTC) #5
nhiroki
+asvitkine@, could you review histograms.xml as an OWNER? Thanks.
6 years, 6 months ago (2014-06-03 07:04:55 UTC) #6
michaeln
lgtm, thnx!
6 years, 6 months ago (2014-06-03 19:09:44 UTC) #7
Alexei Svitkine (slow)
lgtm with optional nit https://codereview.chromium.org/303483007/diff/190001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/303483007/diff/190001/tools/metrics/histograms/histograms.xml#newcode42220 tools/metrics/histograms/histograms.xml:42220: + <int value="0" label="STATUS_OK"/> Nit: ...
6 years, 6 months ago (2014-06-03 19:16:35 UTC) #8
nhiroki
Thank you! https://codereview.chromium.org/303483007/diff/190001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/303483007/diff/190001/tools/metrics/histograms/histograms.xml#newcode42220 tools/metrics/histograms/histograms.xml:42220: + <int value="0" label="STATUS_OK"/> On 2014/06/03 19:16:36, ...
6 years, 6 months ago (2014-06-04 03:45:14 UTC) #9
nhiroki
The CQ bit was checked by nhiroki@chromium.org
6 years, 6 months ago (2014-06-04 03:45:18 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/303483007/230001
6 years, 6 months ago (2014-06-04 03:46:29 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 6 months ago (2014-06-04 06:17:45 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 12:36:55 UTC) #13
Message was sent while issue was closed.
Change committed as 274793

Powered by Google App Engine
This is Rietveld 408576698