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

Issue 14208007: Improve WebSocket interface by making it implement StreamSink. (Closed)

Created:
7 years, 8 months ago by Anders Johnsen
Modified:
7 years, 8 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Improve WebSocket interface by making it implement StreamSink. This renames send to add, but also adds the addStream method, making it possible to pause/resume the underlying Socket. Remove http_shutdown_test from status file. Crash have not been seen for a while. BUG= Committed: https://code.google.com/p/dart/source/detail?r=21553

Patch Set 1 #

Total comments: 9

Patch Set 2 : Clean up comments. #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -212 lines) Patch
M sdk/lib/io/io_sink.dart View 5 chunks +72 lines, -66 lines 0 comments Download
M sdk/lib/io/websocket.dart View 1 2 chunks +14 lines, -4 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 1 4 chunks +187 lines, -130 lines 0 comments Download
M tests/standalone/io/web_socket_test.dart View 10 chunks +12 lines, -12 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Anders Johnsen
7 years, 8 months ago (2013-04-16 11:55:24 UTC) #1
Søren Gjesse
LGTM Remember to send out a breaking change mail. https://codereview.chromium.org/14208007/diff/1/sdk/lib/io/io_sink.dart File sdk/lib/io/io_sink.dart (right): https://codereview.chromium.org/14208007/diff/1/sdk/lib/io/io_sink.dart#newcode55 sdk/lib/io/io_sink.dart:55: ...
7 years, 8 months ago (2013-04-16 12:41:31 UTC) #2
Anders Johnsen
PTAL https://codereview.chromium.org/14208007/diff/1/sdk/lib/io/io_sink.dart File sdk/lib/io/io_sink.dart (right): https://codereview.chromium.org/14208007/diff/1/sdk/lib/io/io_sink.dart#newcode55 sdk/lib/io/io_sink.dart:55: class _StreamSinkImpl<T> implements StreamSink<T> { On 2013/04/16 12:41:31, ...
7 years, 8 months ago (2013-04-16 13:46:22 UTC) #3
Søren Gjesse
lgtm
7 years, 8 months ago (2013-04-16 13:47:48 UTC) #4
Anders Johnsen
7 years, 8 months ago (2013-04-16 15:08:35 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r21553 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698