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

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

Issue 10916081: Add secure sockets to dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Allow TLS sockets to build with both Chromium NSS and upstream NSS Created 8 years, 3 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 | runtime/bin/bin.gypi » ('j') | runtime/bin/bin.gypi » ('J')
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 a45be35c9dadea06af9a8616a3a0f6a98c6d72f5..c0d2810bc5bb8b7ace15a6b25284ab539e39c952 100644
--- a/lib/compiler/implementation/lib/io.dart
+++ b/lib/compiler/implementation/lib/io.dart
@@ -63,6 +63,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');
@@ -176,3 +179,9 @@ const InputStream stdin = null;
const OutputStream stdout = null;
const 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 | runtime/bin/bin.gypi » ('j') | runtime/bin/bin.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698