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

Unified Diff: tools/ddbg.dart

Issue 11336012: Remove public SocketInputStream and SocketOutputStream clases (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « tests/standalone/io/stream_pipe_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ddbg.dart
diff --git a/tools/ddbg.dart b/tools/ddbg.dart
index eaf0258a85f979918ea8fe8cd6595f4997207707..4a716205f83242a8c7c22b4e3e31c3190eede43b 100644
--- a/tools/ddbg.dart
+++ b/tools/ddbg.dart
@@ -529,12 +529,12 @@ int jsonObjectLength(String string) {
void main() {
outstandingCommands = new Map<int, Completer>();
vmSock = new Socket("127.0.0.1", 5858);
- vmStream = new SocketOutputStream(vmSock);
+ vmStream = vmSock.outputStream;
var stdinStream = new StringInputStream(stdin);
stdinStream.onLine = () {
processCommand(stdinStream.readLine());
};
- var vmInStream = new SocketInputStream(vmSock);
+ var vmInStream = vmSock.inputStream;
vmInStream.onData = () {
String s = decodeUtf8(vmInStream.read());
processVmData(s);
« no previous file with comments | « tests/standalone/io/stream_pipe_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698