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

Unified Diff: runtime/bin/builtin_natives.cc

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
Index: runtime/bin/builtin_natives.cc
diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
index f6634002618f59388569a1ca0167b616faa78cf8..0b68d16394553483af104eb4bca5004d4e23918b 100644
--- a/runtime/bin/builtin_natives.cc
+++ b/runtime/bin/builtin_natives.cc
@@ -65,7 +65,13 @@
V(Socket_GetRemotePeer, 1) \
V(Socket_GetError, 1) \
V(Socket_GetStdioHandle, 2) \
- V(Socket_NewServicePort, 0)
+ V(Socket_NewServicePort, 0) \
+ V(TlsSocket_Connect, 1) \
+ V(TlsSocket_Destroy, 1) \
+ V(TlsSocket_Init, 1) \
+ V(TlsSocket_ProcessBuffer, 2) \
+ V(TlsSocket_RegisterHandshakeCallbacks, 3) \
+ V(TlsSocket_SetCertificateDatabase, 1)
BUILTIN_NATIVE_LIST(DECLARE_FUNCTION);

Powered by Google App Engine
This is Rietveld 408576698