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

Unified Diff: runtime/bin/socket_patch.dart

Issue 300043011: Add WebSockets to Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Deploy Created 6 years, 7 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/service_object_patch.dart ('k') | runtime/bin/vmservice/client/deployed/web/index.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_patch.dart
diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
index a50d51f6641cf652aee7cb1054434cf25ce20214..3a69255d6149f1602155c55222c7b3e933dc42f0 100644
--- a/runtime/bin/socket_patch.dart
+++ b/runtime/bin/socket_patch.dart
@@ -1389,6 +1389,8 @@ class _RawSocket extends Stream<RawSocketEvent>
_socket.close();
}
}
+
+ Map _toJSON(bool ref) => _socket._toJSON(ref);
}
@@ -1634,8 +1636,9 @@ class _Socket extends Stream<List<int>> implements Socket {
}
int get port => _raw.port;
- InternetAddress get remoteAddress => _raw.remoteAddress;
+ InternetAddress get address => _raw.address;
int get remotePort => _raw.remotePort;
+ InternetAddress get remoteAddress => _raw.remoteAddress;
Future _detachRaw() {
_detachReady = new Completer();
@@ -1744,6 +1747,8 @@ class _Socket extends Stream<List<int>> implements Socket {
}
}
}
+
+ Map _toJSON(bool ref) => _raw._toJSON(ref);
}
« no previous file with comments | « runtime/bin/service_object_patch.dart ('k') | runtime/bin/vmservice/client/deployed/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698