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

Issue 23469003: Add an AssetStream class to Barback. (Closed)

Created:
7 years, 3 months ago by nweiz
Modified:
7 years, 3 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add an AssetStream class to Barback. This makes it easier to create an asset from a stream of bytes. R=rnystrom@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=26734

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add tests and fix a few bugs. #

Total comments: 14

Patch Set 3 : Code review changes. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -3 lines) Patch
M pkg/barback/lib/src/asset.dart View 1 3 chunks +28 lines, -0 lines 0 comments Download
M pkg/barback/lib/src/package_graph.dart View 1 chunk +2 lines, -1 line 0 comments Download
A pkg/barback/lib/src/stream_replayer.dart View 1 2 1 chunk +67 lines, -0 lines 1 comment Download
M pkg/barback/lib/src/utils.dart View 1 2 2 chunks +52 lines, -2 lines 0 comments Download
M pkg/barback/test/asset_test.dart View 1 3 chunks +33 lines, -0 lines 0 comments Download
A pkg/barback/test/stream_replayer_test.dart View 1 2 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
nweiz
7 years, 3 months ago (2013-08-26 22:28:03 UTC) #1
Bob Nystrom
https://codereview.chromium.org/23469003/diff/1/pkg/barback/lib/src/stream_replayer.dart File pkg/barback/lib/src/stream_replayer.dart (right): https://codereview.chromium.org/23469003/diff/1/pkg/barback/lib/src/stream_replayer.dart#newcode28 pkg/barback/lib/src/stream_replayer.dart:28: /// The controllers are listening for future events from ...
7 years, 3 months ago (2013-08-27 17:20:29 UTC) #2
nweiz
https://codereview.chromium.org/23469003/diff/1/pkg/barback/lib/src/stream_replayer.dart File pkg/barback/lib/src/stream_replayer.dart (right): https://codereview.chromium.org/23469003/diff/1/pkg/barback/lib/src/stream_replayer.dart#newcode28 pkg/barback/lib/src/stream_replayer.dart:28: /// The controllers are listening for future events from ...
7 years, 3 months ago (2013-08-27 17:47:51 UTC) #3
Bob Nystrom
LGTM! https://codereview.chromium.org/23469003/diff/7001/pkg/barback/lib/src/stream_replayer.dart File pkg/barback/lib/src/stream_replayer.dart (right): https://codereview.chromium.org/23469003/diff/7001/pkg/barback/lib/src/stream_replayer.dart#newcode58 pkg/barback/lib/src/stream_replayer.dart:58: eventOrError.match(controller.add, controller.addError); Oh, that cleaned up nicely.
7 years, 3 months ago (2013-08-27 17:59:56 UTC) #4
nweiz
7 years, 3 months ago (2013-08-27 18:29:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r26734 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698