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

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

Issue 10916081: Add secure sockets to dart:io (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Switch to system of patched libraries in dart:io for new TlsSocket class. 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 | « no previous file | lib/io/tls_socket.dart » ('j') | runtime/bin/bin.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/lib/io_patch.dart
diff --git a/lib/compiler/implementation/lib/io_patch.dart b/lib/compiler/implementation/lib/io_patch.dart
index f603e87df339088dffde2d1342f72a32fef48637..0896c7f33282a6cbe91e5c0b6077afaeb24ca044 100644
--- a/lib/compiler/implementation/lib/io_patch.dart
+++ b/lib/compiler/implementation/lib/io_patch.dart
@@ -167,6 +167,10 @@ patch class Socket {
patch factory Socket(String host, int port) => new _Socket(host, port);
}
+patch class TlsSocket {
+ patch factory TlsSocket(String host, int port) => new _TlsSocket(host, port);
+}
+
patch class _StdIOUtils {
patch static _getStdioHandle(Socket socket, int num) {
throw new UnsupportedError("StdIOUtils._getStdioHandle");
« no previous file with comments | « no previous file | lib/io/tls_socket.dart » ('j') | runtime/bin/bin.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698