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

Unified Diff: lib/io/stream_util.dart

Issue 11337019: Use patching for dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: lib/io/stream_util.dart
diff --git a/runtime/bin/stream_util.dart b/lib/io/stream_util.dart
similarity index 98%
rename from runtime/bin/stream_util.dart
rename to lib/io/stream_util.dart
index fc6ee1f0c5123fdda33d105bdc5f2727d4f254c8..150018168750a46856a01442e6ba2adf73e12abc 100644
--- a/runtime/bin/stream_util.dart
+++ b/lib/io/stream_util.dart
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-class _BaseDataInputStream {
- abstract int available();
+abstract class _BaseDataInputStream {
+ int available();
List<int> read([int len]) {
if (_closeCallbackCalled || _scheduledCloseCallback != null) return null;
@@ -65,7 +65,7 @@ class _BaseDataInputStream {
}
}
- abstract List<int> _read(int bytesToRead);
+ List<int> _read(int bytesToRead);
void _dataReceived() {
// More data has been received asynchronously. Perform the data

Powered by Google App Engine
This is Rietveld 408576698