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

Issue 350763007: [WebSocket] Create Peer on the worker thread. (Closed)

Created:
6 years, 6 months ago by yhirano
Modified:
6 years, 5 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[WebSocket] Create Peer on the worker thread. This CL moves the WorkerThreadableWebSocketChannel::Peer construction to the worker thread from the main thread. That simplifies the construction and destruction of Peer and removes #if ENABLE(OILPAN) macros. BUG=384238 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178922

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : rebase #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : DO NOT COMMIT #

Patch Set 17 : DO NOT COMMIT #

Patch Set 18 : DO NOT COMMIT #

Patch Set 19 : DO NOT COMMIT #

Patch Set 20 : DO NOT COMMIT #

Patch Set 21 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -151 lines) Patch
M Source/modules/websockets/WorkerThreadableWebSocketChannel.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +11 lines, -31 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 18 chunks +55 lines, -120 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
yhirano
6 years, 5 months ago (2014-07-23 09:35:07 UTC) #1
tyoshino (SeeGerritForStatus)
Could you please divide this into smaller patches? For example, typedef should be intended to ...
6 years, 5 months ago (2014-07-24 04:07:11 UTC) #2
yhirano
OK, I will do that.
6 years, 5 months ago (2014-07-24 04:10:16 UTC) #3
yhirano
It's ready, PTAL. This CL depends on https://codereview.chromium.org/410393003/ .
6 years, 5 months ago (2014-07-24 05:57:06 UTC) #4
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/350763007/diff/200001/Source/modules/websockets/WorkerThreadableWebSocketChannel.h File Source/modules/websockets/WorkerThreadableWebSocketChannel.h (right): https://codereview.chromium.org/350763007/diff/200001/Source/modules/websockets/WorkerThreadableWebSocketChannel.h#newcode171 Source/modules/websockets/WorkerThreadableWebSocketChannel.h:171: bool hasPeer() const { return m_peer; } I factored ...
6 years, 5 months ago (2014-07-24 08:02:00 UTC) #5
yhirano
https://codereview.chromium.org/350763007/diff/200001/Source/modules/websockets/WorkerThreadableWebSocketChannel.h File Source/modules/websockets/WorkerThreadableWebSocketChannel.h (right): https://codereview.chromium.org/350763007/diff/200001/Source/modules/websockets/WorkerThreadableWebSocketChannel.h#newcode171 Source/modules/websockets/WorkerThreadableWebSocketChannel.h:171: bool hasPeer() const { return m_peer; } On 2014/07/24 ...
6 years, 5 months ago (2014-07-24 08:16:22 UTC) #6
tyoshino (SeeGerritForStatus)
lg but want to understand that hacks introduced by oilpan guys are really unrelated once ...
6 years, 5 months ago (2014-07-24 08:20:14 UTC) #7
haraken
This is a very nice clean-up! Thanks for doing this. LGTM. Just to confirm: In ...
6 years, 5 months ago (2014-07-24 09:22:29 UTC) #8
yhirano
On 2014/07/24 09:22:29, haraken wrote: > This is a very nice clean-up! Thanks for doing ...
6 years, 5 months ago (2014-07-25 07:18:57 UTC) #9
yhirano
WorkerThreadableWebSocketChannel now uses WebWaitableEvent::wait instead of waitMultipleObjects because waitMultipleObjects doesn't ensure the corresponding signal method ...
6 years, 5 months ago (2014-07-25 07:21:04 UTC) #10
tyoshino (SeeGerritForStatus)
lgtm
6 years, 5 months ago (2014-07-25 08:59:50 UTC) #11
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 5 months ago (2014-07-25 09:11:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/350763007/400001
6 years, 5 months ago (2014-07-25 09:12:18 UTC) #13
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 10:10:44 UTC) #14
Message was sent while issue was closed.
Change committed as 178922

Powered by Google App Engine
This is Rietveld 408576698