DescriptionAdd IncrementWorkerRefCount() and DecrementWorkerRefCount() to RenderProcessHostImpl.
These methods will be called from SharedWorkerServiceImpl when the existence of the other renderer process which is connected to the SharedWorker in this renderer process has changed.
It is only called when "enable-embedded-shared-worker" flag is set.
When |worker_ref_count_| is not zero , RenderProcessHostImpl::FastShutdownIfPossible() and RenderProcessHostImpl::Cleanup() don't shutdown the renderer process.
BUG=327256
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255018
Patch Set 1 #
Total comments: 3
Patch Set 2 : #Patch Set 3 : RenderProcessHostImpl::NotifySharedWorkerHasClients() #
Total comments: 1
Patch Set 4 : IncrementWorkerRefCount DecrementWorkerRefCount #Patch Set 5 : git cl format #
Messages
Total messages: 13 (0 generated)
|