DescriptionSharedWorker: Factor out WorkerReportingProxy impl from WebSharedWorkerImpl
WebSharedWorkerImpl is a heavily threaded class. Some methods are called on the
main thread, while others are called on a worker thread. This often confuses my
head...
This CL factors out a part of WebSharedWorkerImpl that implement
WorkerReportingProxy and are called on a worker thread into
WebSharedWorkerReportingProxyImpl. Even with this cleanup, some methods called
on a worker thread still remain in WebSharedWorkerImpl, but this would somewhat
mitigate the situation and make threading boundary clearer.
BUG=673711
Review-Url: https://codereview.chromium.org/2721543002
Cr-Commit-Position: refs/heads/master@{#453499}
Committed: https://chromium.googlesource.com/chromium/src/+/0decaefae68c308e45aad3b3fbda9c5b9a6793a8
Patch Set 1 #Patch Set 2 : fix compile failures on win bots #
Total comments: 2
Patch Set 3 : address review comments #Patch Set 4 : fix typo #Patch Set 5 : tweak header comment #
Messages
Total messages: 32 (25 generated)
|