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

Unified Diff: runtime/bin/socket_stream_impl.dart

Issue 9289042: Minor changes to the dart:io library files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add missing files. Created 8 years, 11 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
« no previous file with comments | « runtime/bin/socket_stream.dart ('k') | runtime/bin/timer_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_stream_impl.dart
diff --git a/runtime/bin/socket_stream.dart b/runtime/bin/socket_stream_impl.dart
similarity index 94%
copy from runtime/bin/socket_stream.dart
copy to runtime/bin/socket_stream_impl.dart
index 1d5852a65ac4edbfb0e31bc19aef861ceaf6e090..e4036333b1e0b8ed14fea09dd89600036c494fca 100644
--- a/runtime/bin/socket_stream.dart
+++ b/runtime/bin/socket_stream_impl.dart
@@ -1,9 +1,9 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// 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 SocketInputStream implements InputStream {
- SocketInputStream(Socket socket) : _socket = socket {
+class _SocketInputStream implements SocketInputStream {
+ _SocketInputStream(Socket socket) : _socket = socket {
_socket.closeHandler = _closeHandler;
}
@@ -75,8 +75,8 @@ class SocketInputStream implements InputStream {
}
-class SocketOutputStream implements OutputStream {
- SocketOutputStream(Socket socket)
+class _SocketOutputStream implements SocketOutputStream {
+ _SocketOutputStream(Socket socket)
: _socket = socket, _pendingWrites = new _BufferList();
bool write(List<int> buffer, [bool copyBuffer = true]) {
« no previous file with comments | « runtime/bin/socket_stream.dart ('k') | runtime/bin/timer_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698