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

Issue 550003005: Mojo: WebSocket interface now reuses the DataPipe for subsequent sends or (Closed)

Created:
6 years, 3 months ago by Matt Perry
Modified:
6 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Mojo: WebSocket interface now reuses the DataPipe for subsequent sends or receives, rather then allocating a new DataPipe for each chunk. BUG=403930 Committed: https://crrev.com/c2680c9513da2e3c735a2fcb7bfdc8874d989a1f Cr-Commit-Position: refs/heads/master@{#296293}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : darin #

Patch Set 5 : compile #

Patch Set 6 : rebase #

Patch Set 7 : compile #

Patch Set 8 : try again #

Patch Set 9 : move read_queue #

Patch Set 10 : gyp build #

Patch Set 11 : comment #

Patch Set 12 : . #

Patch Set 13 : deps #

Patch Set 14 : more deps #

Patch Set 15 : fix deps? #

Patch Set 16 : . #

Patch Set 17 : rebase #

Patch Set 18 : transitive deps #

Patch Set 19 : give up #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+422 lines, -67 lines) Patch
M mojo/mojo_services.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +8 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M mojo/services/html_viewer/websockethandle_impl.h View 1 2 3 chunks +9 lines, -1 line 0 comments Download
M mojo/services/html_viewer/websockethandle_impl.cc View 1 2 3 4 5 6 7 8 7 chunks +50 lines, -33 lines 0 comments Download
M mojo/services/network/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M mojo/services/network/web_socket_impl.h View 1 2 chunks +11 lines, -4 lines 0 comments Download
M mojo/services/network/web_socket_impl.cc View 1 2 3 4 5 6 7 8 8 chunks +50 lines, -22 lines 0 comments Download
A mojo/services/public/cpp/network/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +21 lines, -0 lines 2 comments Download
A mojo/services/public/cpp/network/web_socket_read_queue.h View 1 2 3 4 5 6 7 8 1 chunk +42 lines, -0 lines 0 comments Download
A mojo/services/public/cpp/network/web_socket_read_queue.cc View 1 2 3 4 5 6 7 8 1 chunk +70 lines, -0 lines 0 comments Download
A mojo/services/public/cpp/network/web_socket_write_queue.h View 1 2 3 4 5 6 7 8 1 chunk +44 lines, -0 lines 0 comments Download
A mojo/services/public/cpp/network/web_socket_write_queue.cc View 1 2 3 4 5 6 7 8 1 chunk +84 lines, -0 lines 0 comments Download
M mojo/services/public/interfaces/network/web_socket.mojom View 1 2 3 1 chunk +29 lines, -6 lines 0 comments Download

Messages

Total messages: 57 (26 generated)
Matt Perry
6 years, 3 months ago (2014-09-18 23:31:56 UTC) #2
darin (slow to review)
LGTM https://codereview.chromium.org/550003005/diff/40001/mojo/services/network/web_socket_data_pipe_queue.h File mojo/services/network/web_socket_data_pipe_queue.h (right): https://codereview.chromium.org/550003005/diff/40001/mojo/services/network/web_socket_data_pipe_queue.h#newcode19 mojo/services/network/web_socket_data_pipe_queue.h:19: class WebSocketReadQueue { nit: I would probably create ...
6 years, 3 months ago (2014-09-19 05:40:08 UTC) #3
darin (slow to review)
Oh yes, I should ask: do you have a testing strategy in mind for this ...
6 years, 3 months ago (2014-09-19 05:40:31 UTC) #4
Matt Perry
So far I've been testing manually using websocket.org. I can look into adding unit tests ...
6 years, 3 months ago (2014-09-19 19:50:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/60001
6 years, 3 months ago (2014-09-19 20:51:25 UTC) #7
darin (slow to review)
OK! On Sep 19, 2014 1:51 PM, <commit-bot@chromium.org> wrote: > CQ is trying da patch. ...
6 years, 3 months ago (2014-09-19 21:00:49 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/655) android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/17320) linux_chromium_gn_dbg ...
6 years, 3 months ago (2014-09-19 21:12:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/100001
6 years, 3 months ago (2014-09-22 19:11:04 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/17795)
6 years, 3 months ago (2014-09-22 19:40:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/120001
6 years, 3 months ago (2014-09-22 20:02:43 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/1109) android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/17819)
6 years, 3 months ago (2014-09-22 20:31:52 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/140001
6 years, 3 months ago (2014-09-22 22:36:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/200001
6 years, 3 months ago (2014-09-22 23:48:19 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/17929)
6 years, 3 months ago (2014-09-22 23:54:24 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/220001
6 years, 3 months ago (2014-09-23 00:01:31 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/17936)
6 years, 3 months ago (2014-09-23 00:07:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/240001
6 years, 3 months ago (2014-09-23 00:17:39 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/17946)
6 years, 3 months ago (2014-09-23 00:23:50 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/260001
6 years, 3 months ago (2014-09-23 00:28:14 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/17948)
6 years, 3 months ago (2014-09-23 00:37:11 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/280001
6 years, 3 months ago (2014-09-23 01:07:46 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/17957)
6 years, 3 months ago (2014-09-23 01:17:20 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/320001
6 years, 3 months ago (2014-09-23 20:30:18 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/6404) mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/18175)
6 years, 3 months ago (2014-09-23 20:53:19 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/340001
6 years, 3 months ago (2014-09-23 21:03:08 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/18226)
6 years, 3 months ago (2014-09-23 21:21:06 UTC) #50
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/550003005/360001
6 years, 3 months ago (2014-09-23 21:46:11 UTC) #52
commit-bot: I haz the power
Committed patchset #19 (id:360001) as 7ed43963c2a9d7ba9fdcbf7eea3aa32864cec4bd
6 years, 3 months ago (2014-09-23 23:08:12 UTC) #53
commit-bot: I haz the power
Patchset 19 (id:??) landed as https://crrev.com/c2680c9513da2e3c735a2fcb7bfdc8874d989a1f Cr-Commit-Position: refs/heads/master@{#296293}
6 years, 3 months ago (2014-09-23 23:08:45 UTC) #54
jamesr
https://codereview.chromium.org/550003005/diff/360001/mojo/services/public/cpp/network/BUILD.gn File mojo/services/public/cpp/network/BUILD.gn (right): https://codereview.chromium.org/550003005/diff/360001/mojo/services/public/cpp/network/BUILD.gn#newcode6 mojo/services/public/cpp/network/BUILD.gn:6: component("network") { this isn't a component since it doesn't ...
6 years, 2 months ago (2014-09-26 19:31:01 UTC) #56
Matt Perry
6 years, 2 months ago (2014-09-26 19:32:31 UTC) #57
Message was sent while issue was closed.
https://codereview.chromium.org/550003005/diff/360001/mojo/services/public/cp...
File mojo/services/public/cpp/network/BUILD.gn (right):

https://codereview.chromium.org/550003005/diff/360001/mojo/services/public/cp...
mojo/services/public/cpp/network/BUILD.gn:6: component("network") {
On 2014/09/26 19:31:01, jamesr wrote:
> this isn't a component since it doesn't set up exports and whatnot.  it should
> just be a source_set

Ah, thanks. I'll make a CL to fix it.

Powered by Google App Engine
This is Rietveld 408576698