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

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

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x 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
5 /** 7 /**
6 * Default implementation of [ListInputStream]. 8 * Default implementation of [ListInputStream].
7 */ 9 */
8 class _ListInputStream extends _BaseDataInputStream implements ListInputStream { 10 class _ListInputStream extends _BaseDataInputStream implements ListInputStream {
9 _ListInputStream() : _bufferList = new _BufferList(); 11 _ListInputStream() : _bufferList = new _BufferList();
10 12
11 void write(List<int> data) { 13 void write(List<int> data) {
12 if (_streamMarkedClosed) { 14 if (_streamMarkedClosed) {
13 throw new StreamException.streamClosed(); 15 throw new StreamException.streamClosed();
14 } 16 }
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 _BufferList _bufferList; 152 _BufferList _bufferList;
151 bool _streamMarkedClosed = false; 153 bool _streamMarkedClosed = false;
152 bool _closeCallbackCalled = false; 154 bool _closeCallbackCalled = false;
153 Timer _scheduledDataCallback; 155 Timer _scheduledDataCallback;
154 Timer _scheduledNoPendingWriteCallback; 156 Timer _scheduledNoPendingWriteCallback;
155 Timer _scheduledCloseCallback; 157 Timer _scheduledCloseCallback;
156 Function _clientDataHandler; 158 Function _clientDataHandler;
157 Function _clientNoPendingWriteHandler; 159 Function _clientNoPendingWriteHandler;
158 Function _clientCloseHandler; 160 Function _clientCloseHandler;
159 } 161 }
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