0
Files
src/content/browser/websockets
Yutaka Hirano 26e73cfd90 Stop giving WebSocketClient to WebSocket creation function
Instead, give it as an argument  of
mojom.WebSocketHandshakeClient.OnConnectionEstablished.

This is a follow up CL for
https://chromium-review.googlesource.com/c/chromium/src/+/1728917.
Passing the mojo::InterfaceRequest<WebSocketClient> at
OnConnectionEstablished is less error prone because

 1) It is unable to bind the implementation before that, and
 2) It is now clear that we should detect connection errors on
    |handshake_client| until the connection is established, and
    |client| after that.

Bug: 989406, 967524
Change-Id: Id9a7f184b678303d5b0ef8ad3b8637056a495933
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728534
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Yoichi Osato <yoichio@chromium.org>
Reviewed-by: Adam Rice <ricea@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#684215}
2019-08-06 02:38:13 +00:00
..

WebSocket service

This directory contains the network.mojom.WebSocket implementation. It hosts the WebSocket API implementations in Blink over Mojo, and exports the WebSocket protocol implementation in net/websockets/ as a service.