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

Side by Side Diff: sdk/lib/io/list_stream_impl.dart

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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
« no previous file with comments | « sdk/lib/io/list_stream.dart ('k') | sdk/lib/io/mime_multipart_parser.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 part of dart.io;
6
7 /** 5 /**
8 * Default implementation of [ListInputStream]. 6 * Default implementation of [ListInputStream].
9 */ 7 */
10 class _ListInputStream extends _BaseDataInputStream implements ListInputStream { 8 class _ListInputStream extends _BaseDataInputStream implements ListInputStream {
11 _ListInputStream() : _bufferList = new _BufferList(); 9 _ListInputStream() : _bufferList = new _BufferList();
12 10
13 void write(List<int> data) { 11 void write(List<int> data) {
14 if (_streamMarkedClosed) { 12 if (_streamMarkedClosed) {
15 throw new StreamException.streamClosed(); 13 throw new StreamException.streamClosed();
16 } 14 }
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 _BufferList _bufferList; 150 _BufferList _bufferList;
153 bool _streamMarkedClosed = false; 151 bool _streamMarkedClosed = false;
154 bool _closeCallbackCalled = false; 152 bool _closeCallbackCalled = false;
155 Timer _scheduledDataCallback; 153 Timer _scheduledDataCallback;
156 Timer _scheduledNoPendingWriteCallback; 154 Timer _scheduledNoPendingWriteCallback;
157 Timer _scheduledCloseCallback; 155 Timer _scheduledCloseCallback;
158 Function _clientDataHandler; 156 Function _clientDataHandler;
159 Function _clientNoPendingWriteHandler; 157 Function _clientNoPendingWriteHandler;
160 Function _clientCloseHandler; 158 Function _clientCloseHandler;
161 } 159 }
OLDNEW
« no previous file with comments | « sdk/lib/io/list_stream.dart ('k') | sdk/lib/io/mime_multipart_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698