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

Issue 991743002: Service Worker: Coalesce the start worker timer into the timeout timer. (Closed)

Created:
5 years, 9 months ago by falken
Modified:
5 years, 9 months ago
Reviewers:
kinuko, nhiroki
CC:
chromium-reviews, michaeln, jsbell+serviceworker_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

Service Worker: Coalesce the start worker timer into the timeout timer. Just a refactoring. It's easier to reason about a single timeout timer than multiple ones. BUG=448003, 372436 Committed: https://crrev.com/088f04fe87b349c4e3f0593f57413a24b4eaf2f1 Cr-Commit-Position: refs/heads/master@{#319851}

Patch Set 1 #

Total comments: 11

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -78 lines) Patch
M content/browser/service_worker/service_worker_version.h View 1 4 chunks +13 lines, -16 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 14 chunks +60 lines, -60 lines 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
falken
could one of you review this?
5 years, 9 months ago (2015-03-09 08:48:08 UTC) #2
kinuko
lgtm, modulo some nits for readability https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc#newcode812 content/browser/service_worker/service_worker_version.cc:812: ping_state_ = PING_STARTED; ...
5 years, 9 months ago (2015-03-09 09:30:41 UTC) #3
falken
https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc#newcode812 content/browser/service_worker/service_worker_version.cc:812: ping_state_ = PING_STARTED; On 2015/03/09 09:30:40, kinuko wrote: > ...
5 years, 9 months ago (2015-03-09 10:10:55 UTC) #4
nhiroki
LGTM after kinuko's comments are addressed. https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc#newcode62 content/browser/service_worker/service_worker_version.cc:62: const int kDestructedStartingWorkerTimeoutThresholdSeconds ...
5 years, 9 months ago (2015-03-10 00:37:10 UTC) #5
falken
Thanks. https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/991743002/diff/1/content/browser/service_worker/service_worker_version.cc#newcode62 content/browser/service_worker/service_worker_version.cc:62: const int kDestructedStartingWorkerTimeoutThresholdSeconds = 5; // 5 secs. ...
5 years, 9 months ago (2015-03-10 06:56:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/991743002/20001
5 years, 9 months ago (2015-03-10 06:57:23 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-03-10 08:34:06 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 08:34:52 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/088f04fe87b349c4e3f0593f57413a24b4eaf2f1
Cr-Commit-Position: refs/heads/master@{#319851}

Powered by Google App Engine
This is Rietveld 408576698