Chromium Code Reviews
DescriptionWebSocket: Remove WorkerThread::terminated() call
WorkerThread::terminated() should be removed because it exposes an internal
state of WorkerThread. Instead, clients of WorkerThread should check a thread
state by WorkerThreadLifecycleObserver.
In this CL, WorkerWebSocketChannel::Peer on main thread observes worker thread
termination and notifies WorkerWebSocketChannel::Bridge on worker thread via
WebSocketChannelSyncHelper.
BUG=639153
Patch Set 1 #
Total comments: 1
Messages
Total messages: 13 (9 generated)
|
|||||||||||||||||||