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

Issue 2614013004: SharedWorker: Document lifetime of SharedWorkerHost (Closed)

Created:
3 years, 11 months ago by nhiroki
Modified:
3 years, 11 months ago
Reviewers:
kinuko, horo
CC:
chromium-reviews, jam, kinuko+watch, darin-cc_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SharedWorker: Document lifetime of SharedWorkerHost This is a followup CL for [1] and does following things: - documents lifetime of SharedWorkerHost. - removes SharedWorkerHost::WorkerContextDestroyed that clears member fields. This is not meaningful because the host is destructed immediately after this function. - removes |instance_| checks because it's always valid. [1] https://codereview.chromium.org/2601893002/#msg39 BUG=612308 Review-Url: https://codereview.chromium.org/2614013004 Cr-Commit-Position: refs/heads/master@{#441895} Committed: https://chromium.googlesource.com/chromium/src/+/3898922f0e5f70f0cbd8a7edbc6d7001b0d60ec5

Patch Set 1 #

Total comments: 2

Patch Set 2 : move Send() to 'private' section #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -62 lines) Patch
M content/browser/shared_worker/shared_worker_host.h View 1 5 chunks +17 lines, -10 lines 0 comments Download
M content/browser/shared_worker/shared_worker_host.cc View 1 16 chunks +16 lines, -47 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl.cc View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 21 (16 generated)
nhiroki
PTAL
3 years, 11 months ago (2017-01-06 03:09:13 UTC) #7
horo
lgtm with a nit https://codereview.chromium.org/2614013004/diff/20001/content/browser/shared_worker/shared_worker_host.h File content/browser/shared_worker/shared_worker_host.h (right): https://codereview.chromium.org/2614013004/diff/20001/content/browser/shared_worker/shared_worker_host.h#newcode42 content/browser/shared_worker/shared_worker_host.h:42: bool Send(IPC::Message* message); nit: move ...
3 years, 11 months ago (2017-01-06 04:50:05 UTC) #10
nhiroki
Thank you. https://codereview.chromium.org/2614013004/diff/20001/content/browser/shared_worker/shared_worker_host.h File content/browser/shared_worker/shared_worker_host.h (right): https://codereview.chromium.org/2614013004/diff/20001/content/browser/shared_worker/shared_worker_host.h#newcode42 content/browser/shared_worker/shared_worker_host.h:42: bool Send(IPC::Message* message); On 2017/01/06 04:50:05, horo ...
3 years, 11 months ago (2017-01-06 05:33:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2614013004/40001
3 years, 11 months ago (2017-01-06 07:03:10 UTC) #18
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 07:07:04 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/3898922f0e5f70f0cbd8a7edbc6d...

Powered by Google App Engine
This is Rietveld 408576698