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

Side by Side Diff: lib/io/chunked_stream.dart

Issue 11337019: Use patching for dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class _ChunkedInputStream implements ChunkedInputStream { 5 class _ChunkedInputStream implements ChunkedInputStream {
6 _ChunkedInputStream(InputStream this._input, int this._chunkSize) 6 _ChunkedInputStream(InputStream this._input, int this._chunkSize)
7 : _bufferList = new _BufferList() { 7 : _bufferList = new _BufferList() {
8 _input.onClosed = _onClosed; 8 _input.onClosed = _onClosed;
9 } 9 }
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 InputStream _input; 129 InputStream _input;
130 _BufferList _bufferList; 130 _BufferList _bufferList;
131 int _chunkSize; 131 int _chunkSize;
132 bool _inputClosed = false; // Is the underlying input stream closed? 132 bool _inputClosed = false; // Is the underlying input stream closed?
133 bool _closed = false; // Has the close handler been called?. 133 bool _closed = false; // Has the close handler been called?.
134 Timer _scheduledDataCallback; 134 Timer _scheduledDataCallback;
135 Timer _scheduledCloseCallback; 135 Timer _scheduledCloseCallback;
136 Function _clientDataHandler; 136 Function _clientDataHandler;
137 Function _clientCloseHandler; 137 Function _clientCloseHandler;
138 } 138 }
OLDNEW
« no previous file with comments | « lib/io/buffer_list.dart ('k') | lib/io/common.dart » ('j') | lib/io/common.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698