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

Issue 419973007: Decouple WebSocketChannelClient from WebSocketImpl (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 4 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

Decouple WebSocketChannelClient from WebSocketImpl Ideally we want to simply make WebSocketImpl inherit from WebSocketChannelClient, but we cannot do that because WebSocketChannelClient needs to be on Oilpan's heap whereas WebSocketImpl cannot be on Oilpan's heap. Thus this CL introduces a proxy class to decouple WebSocketImpl from WebSocketChannelClient. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179460

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -26 lines) Patch
A Source/web/WebSocketChannelClientProxy.h View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
M Source/web/WebSocketImpl.h View 1 2 chunks +13 lines, -15 lines 0 comments Download
M Source/web/WebSocketImpl.cpp View 1 5 chunks +5 lines, -11 lines 0 comments Download
M Source/web/web.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
haraken
PTAL
6 years, 4 months ago (2014-08-01 20:26:39 UTC) #1
yhirano
https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h#newcode36 Source/web/WebSocketChannelClientProxy.h:36: #include "public/web/WebSocketClient.h" No need to include WebSocketClient.h https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h#newcode38 Source/web/WebSocketChannelClientProxy.h:38: ...
6 years, 4 months ago (2014-08-04 01:05:53 UTC) #2
haraken
Thanks for review. https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h#newcode36 Source/web/WebSocketChannelClientProxy.h:36: #include "public/web/WebSocketClient.h" On 2014/08/04 01:05:53, yhirano ...
6 years, 4 months ago (2014-08-04 01:21:57 UTC) #3
yhirano
https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h#newcode36 Source/web/WebSocketChannelClientProxy.h:36: #include "public/web/WebSocketClient.h" On 2014/08/04 01:21:57, haraken wrote: > On ...
6 years, 4 months ago (2014-08-04 01:48:28 UTC) #4
haraken
https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/1/Source/web/WebSocketChannelClientProxy.h#newcode36 Source/web/WebSocketChannelClientProxy.h:36: #include "public/web/WebSocketClient.h" On 2014/08/04 01:48:28, yhirano wrote: > On ...
6 years, 4 months ago (2014-08-04 02:34:17 UTC) #5
yhirano
lgtm https://codereview.chromium.org/419973007/diff/40001/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/40001/Source/web/WebSocketChannelClientProxy.h#newcode2 Source/web/WebSocketChannelClientProxy.h:2: * Copyright (C) 2011, 2012 Google Inc. All ...
6 years, 4 months ago (2014-08-04 03:13:01 UTC) #6
tyoshino (SeeGerritForStatus)
lgtm https://codereview.chromium.org/419973007/diff/40001/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/40001/Source/web/WebSocketChannelClientProxy.h#newcode41 Source/web/WebSocketChannelClientProxy.h:41: namespace blink { class WebSocketChannel; } remove
6 years, 4 months ago (2014-08-04 03:36:07 UTC) #7
tkent
lgtm
6 years, 4 months ago (2014-08-04 04:27:37 UTC) #8
haraken
https://codereview.chromium.org/419973007/diff/40001/Source/web/WebSocketChannelClientProxy.h File Source/web/WebSocketChannelClientProxy.h (right): https://codereview.chromium.org/419973007/diff/40001/Source/web/WebSocketChannelClientProxy.h#newcode2 Source/web/WebSocketChannelClientProxy.h:2: * Copyright (C) 2011, 2012 Google Inc. All rights ...
6 years, 4 months ago (2014-08-04 05:54:34 UTC) #9
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-04 05:58:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/419973007/60001
6 years, 4 months ago (2014-08-04 05:58:49 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 06:53:34 UTC) #12
Message was sent while issue was closed.
Change committed as 179460

Powered by Google App Engine
This is Rietveld 408576698