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

Issue 1229733003: Add net logging for ServiceWorkerURLRequestJob. (Closed)

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

Description

Add net logging for ServiceWorkerURLRequestJob. This patch adds net log types for each ServiceWorkerURLRequestJob result type (already used for UMA), and logs the result as a net event. This may help debugging user issues when something goes wrong with Service Worker. It also folds DESTROYED and KILLED UMAs into just KILLED, as it turned out we got no DESTROYED UMAs. BUG=499143 Committed: https://crrev.com/adacabbf290abae3e862d21b8549fd3a490e2303 Cr-Commit-Position: refs/heads/master@{#338207}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fmt and grammar #

Patch Set 3 : add slighty paranoid null check #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -15 lines) Patch
M content/browser/service_worker/service_worker_url_request_job.cc View 1 2 6 chunks +64 lines, -15 lines 1 comment Download
M net/log/net_log_event_type_list.h View 1 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
falken
WDYT?
5 years, 5 months ago (2015-07-09 04:35:59 UTC) #2
kinuko
I'm not familiar with NetLog and probably not a good reviewer here, but this looks ...
5 years, 5 months ago (2015-07-09 13:52:41 UTC) #3
falken
+mmenke: can you please review? https://codereview.chromium.org/1229733003/diff/1/content/browser/service_worker/service_worker_url_request_job.cc File content/browser/service_worker/service_worker_url_request_job.cc (left): https://codereview.chromium.org/1229733003/diff/1/content/browser/service_worker/service_worker_url_request_job.cc#oldcode355 content/browser/service_worker/service_worker_url_request_job.cc:355: // DESTROYED results together. ...
5 years, 5 months ago (2015-07-09 14:26:29 UTC) #5
mmenke
LGTM https://codereview.chromium.org/1229733003/diff/1/net/log/net_log_event_type_list.h File net/log/net_log_event_type_list.h (right): https://codereview.chromium.org/1229733003/diff/1/net/log/net_log_event_type_list.h#newcode1824 net/log/net_log_event_type_list.h:1824: // to responds with a network error. nit: ...
5 years, 5 months ago (2015-07-09 14:57:45 UTC) #6
falken
Thanks! https://codereview.chromium.org/1229733003/diff/1/net/log/net_log_event_type_list.h File net/log/net_log_event_type_list.h (right): https://codereview.chromium.org/1229733003/diff/1/net/log/net_log_event_type_list.h#newcode1824 net/log/net_log_event_type_list.h:1824: // to responds with a network error. On ...
5 years, 5 months ago (2015-07-10 01:10:18 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229733003/80001
5 years, 5 months ago (2015-07-10 01:13:10 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:80001)
5 years, 5 months ago (2015-07-10 02:32:05 UTC) #13
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 02:34:12 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/adacabbf290abae3e862d21b8549fd3a490e2303
Cr-Commit-Position: refs/heads/master@{#338207}

Powered by Google App Engine
This is Rietveld 408576698