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

Issue 1604033003: Add status() DCHECK to ServiceWorkerVersion::StartRequest. (Closed)

Created:
4 years, 11 months ago by Marijn Kruisselbrink
Modified:
4 years, 11 months ago
Reviewers:
Mark P, nhiroki
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, johnme, jsbell+serviceworker_chromium.org, kinuko+serviceworker, kinuko+watch, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add status() DCHECK to ServiceWorkerVersion::StartRequest. All events other than install, activate and message should only be send to an activated worker, so add a DCHECK for this. BUG=570820 Committed: https://crrev.com/6df524e9218867e28ea2de2bbbcc9044da7d01e4 Cr-Commit-Position: refs/heads/master@{#370473}

Patch Set 1 #

Total comments: 1

Patch Set 2 : update histograms.xml #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M content/browser/service_worker/service_worker_metrics.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_metrics.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
Marijn Kruisselbrink
Addressing a comment from https://codereview.chromium.org/1575283003
4 years, 11 months ago (2016-01-20 01:07:25 UTC) #2
nhiroki
lgtm https://codereview.chromium.org/1604033003/diff/1/content/browser/service_worker/service_worker_metrics.h File content/browser/service_worker/service_worker_metrics.h (right): https://codereview.chromium.org/1604033003/diff/1/content/browser/service_worker/service_worker_metrics.h#newcode85 content/browser/service_worker/service_worker_metrics.h:85: MESSAGE, Can you update a corresponding UMA enum ...
4 years, 11 months ago (2016-01-20 04:46:01 UTC) #3
Marijn Kruisselbrink
+mpearson for histograms.xml OWNERS
4 years, 11 months ago (2016-01-20 17:45:32 UTC) #5
Mark P
histograms.xml lgtm
4 years, 11 months ago (2016-01-20 18:02:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1604033003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1604033003/20001
4 years, 11 months ago (2016-01-20 18:13:25 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-20 20:16:55 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-20 20:17:48 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6df524e9218867e28ea2de2bbbcc9044da7d01e4
Cr-Commit-Position: refs/heads/master@{#370473}

Powered by Google App Engine
This is Rietveld 408576698