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

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: 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
Index: runtime/bin/builtin_natives.cc
diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc
index 78de27e6a061f40714b584ca15f5214fbb204019..7e11521aad23da19ab439cc6a8711b5a180f6c8a 100644
--- a/runtime/bin/builtin_natives.cc
+++ b/runtime/bin/builtin_natives.cc
@@ -66,7 +66,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