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

Issue 2284473002: Move WebSocketHandleImpl into Blink (take 2) (Closed)

Created:
4 years, 3 months ago by darin (slow to review)
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, yhirano
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, tyoshino+watch_chromium.org, creis+watch_chromium.org, qsr+mojo_chromium.org, kinuko+watch, viettrungluu+watch_chromium.org, yhirano+watch_chromium.org, nasko+codewatch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, Aaron Boodman, dglazkov+blink, darin-cc_chromium.org, gavinp+loader_chromium.org, blink-reviews, blink-reviews-api_chromium.org, darin (slow to review), Nate Chapin, loading-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move WebSocketHandleImpl into Blink This is a revision to https://crrev.com/b8df2228b7039e0326e6098e74547539fe9ef4e0, which had to be reverted due to a linker error impacting Android bots w/ symbol_level=1. The delta from that CL is to extract WebSocketHandle as a pure interface so that the unit test can simply mock it out without need to link against implementations of WebSocketHandle methods. R=yhirano@chromium.org TBR=tsepez@chromium.org Committed: https://crrev.com/1c2bd80368022c0481cae0d3f7ed8cd7511666d4 Cr-Commit-Position: refs/heads/master@{#415798}

Patch Set 1 : Previous CL #

Patch Set 2 : Extract WebSocketHandle as pure interface #

Total comments: 3

Patch Set 3 : Removed unnecessary branch in onConnectionError #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1370 lines, -1094 lines) Patch
M content/browser/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/websockets/websocket_impl.h View 5 chunks +8 lines, -8 lines 0 comments Download
M content/browser/websockets/websocket_impl.cc View 6 chunks +19 lines, -19 lines 0 comments Download
M content/browser/websockets/websocket_manager.h View 3 chunks +7 lines, -10 lines 0 comments Download
M content/browser/websockets/websocket_manager.cc View 3 chunks +5 lines, -4 lines 0 comments Download
M content/browser/websockets/websocket_manager_unittest.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M content/common/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
D content/common/websocket.mojom View 1 chunk +0 lines, -138 lines 0 comments Download
M content/content_common_mojo_bindings.gyp View 1 chunk +0 lines, -1 line 0 comments Download
A content/content_renderer.gypi View 1 2 3 1 chunk +915 lines, -0 lines 0 comments Download
M content/renderer/BUILD.gn View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 2 chunks +0 lines, -10 lines 0 comments Download
M content/renderer/renderer_blink_platform_impl.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/renderer_blink_platform_impl.cc View 1 2 3 2 chunks +0 lines, -5 lines 0 comments Download
D content/renderer/websockethandle_impl.h View 1 chunk +0 lines, -86 lines 0 comments Download
D content/renderer/websockethandle_impl.cc View 1 2 3 1 chunk +0 lines, -299 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h View 3 chunks +8 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp View 1 8 chunks +20 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannelTest.cpp View 1 7 chunks +19 lines, -20 lines 0 comments Download
A + third_party/WebKit/Source/modules/websockets/WebSocketHandle.h View 1 2 chunks +16 lines, -10 lines 0 comments Download
A + third_party/WebKit/Source/modules/websockets/WebSocketHandleClient.h View 2 chunks +10 lines, -12 lines 0 comments Download
A third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.h View 1 1 chunk +73 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/websockets/WebSocketHandleImpl.cpp View 1 2 1 chunk +244 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/platform/exported/WebSocketHandshakeRequestInfo.cpp View 1 chunk +0 lines, -63 lines 0 comments Download
D third_party/WebKit/Source/platform/exported/WebSocketHandshakeResponseInfo.cpp View 1 chunk +0 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/modules/websockets/OWNERS View 1 chunk +3 lines, -0 lines 0 comments Download
D third_party/WebKit/public/platform/modules/websockets/WebSocketHandle.h View 1 chunk +0 lines, -68 lines 0 comments Download
D third_party/WebKit/public/platform/modules/websockets/WebSocketHandleClient.h View 1 chunk +0 lines, -81 lines 0 comments Download
D third_party/WebKit/public/platform/modules/websockets/WebSocketHandshakeRequestInfo.h View 1 chunk +0 lines, -63 lines 0 comments Download
D third_party/WebKit/public/platform/modules/websockets/WebSocketHandshakeResponseInfo.h View 1 chunk +0 lines, -63 lines 0 comments Download
A + third_party/WebKit/public/platform/modules/websockets/websocket.mojom View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 2 chunks +0 lines, -6 lines 0 comments Download

Messages

Total messages: 63 (52 generated)
darin (slow to review)
This CL has a trivial mojom change. Just moving the directory location for the mojom ...
4 years, 3 months ago (2016-08-29 17:07:45 UTC) #30
Tom Sepez
RS LGTM on moving existing .mojom file + module rename.
4 years, 3 months ago (2016-08-29 17:08:31 UTC) #33
yhirano
https://codereview.chromium.org/2284473002/diff/140001/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp File third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp (right): https://codereview.chromium.org/2284473002/diff/140001/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp#newcode181 third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp:181: m_handle->initialize(Platform::current()->interfaceProvider()); I found I don't understand this logic. My ...
4 years, 3 months ago (2016-08-30 06:01:20 UTC) #37
yhirano
lgtm https://codereview.chromium.org/2284473002/diff/140001/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp File third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp (right): https://codereview.chromium.org/2284473002/diff/140001/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp#newcode181 third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.cpp:181: m_handle->initialize(Platform::current()->interfaceProvider()); On 2016/08/30 06:01:20, yhirano wrote: > I ...
4 years, 3 months ago (2016-08-30 07:43:10 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2284473002/160001
4 years, 3 months ago (2016-08-30 19:08:54 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/249479)
4 years, 3 months ago (2016-08-30 19:14:47 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2284473002/180001
4 years, 3 months ago (2016-08-31 04:24:50 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/249971)
4 years, 3 months ago (2016-08-31 04:29:02 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2284473002/200001
4 years, 3 months ago (2016-08-31 19:24:17 UTC) #59
commit-bot: I haz the power
Committed patchset #5 (id:200001)
4 years, 3 months ago (2016-08-31 23:19:17 UTC) #61
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 23:22:08 UTC) #63
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1c2bd80368022c0481cae0d3f7ed8cd7511666d4
Cr-Commit-Position: refs/heads/master@{#415798}

Powered by Google App Engine
This is Rietveld 408576698