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

Unified Diff: lib/compiler/implementation/lib/io.dart

Issue 10826305: Add stub for TlsSocket to dart2js library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/io.dart
diff --git a/lib/compiler/implementation/lib/io.dart b/lib/compiler/implementation/lib/io.dart
index bac4fc23fd45cb62691e3e7683805a9b49ccc76c..41e552189f04f23a9e78e1397cb3a25789e39a56 100644
--- a/lib/compiler/implementation/lib/io.dart
+++ b/lib/compiler/implementation/lib/io.dart
@@ -54,6 +54,9 @@
#source('../../../../runtime/bin/stream_util.dart');
#source('../../../../runtime/bin/string_stream.dart');
#source('../../../../runtime/bin/timer_impl.dart');
+#source('../../../../runtime/bin/tls_socket.dart');
+// Uses native keyword.
+// #source('../../../../runtime/bin/tls_socket_impl.dart');
#source('../../../../runtime/bin/websocket.dart');
#source('../../../../runtime/bin/websocket_impl.dart');
@@ -163,3 +166,9 @@ final InputStream stdin = null;
final OutputStream stdout = null;
final OutputStream stderr = null;
+
+class _TlsSocket {
+ factory TlsSocket(String host, int port) {
+ throw new UnsupportedOperationException('new TlsSocket($host, $port)');
+ }
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698