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

Unified Diff: runtime/bin/io_natives.cc

Issue 18516002: Add Stdio.readByteSync and Stdio.readLineSync. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Handle \r\r\n. Created 7 years, 6 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 | « runtime/bin/io_impl_sources.gypi ('k') | runtime/bin/stdin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/io_natives.cc
diff --git a/runtime/bin/io_natives.cc b/runtime/bin/io_natives.cc
index 0ccd52024a08eca854894e6a260764c0b0f5ec70..c2a3a967e21be45eb1aa7e67a63586efebfc6a0a 100644
--- a/runtime/bin/io_natives.cc
+++ b/runtime/bin/io_natives.cc
@@ -41,6 +41,16 @@ namespace bin {
V(Process_Exit, 1) \
V(Process_Sleep, 1) \
V(Process_Pid, 1) \
+ V(SecureSocket_Connect, 9) \
+ V(SecureSocket_Destroy, 1) \
+ V(SecureSocket_Handshake, 1) \
+ V(SecureSocket_Init, 1) \
+ V(SecureSocket_PeerCertificate, 1) \
+ V(SecureSocket_RegisterBadCertificateCallback, 2) \
+ V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \
+ V(SecureSocket_InitializeLibrary, 3) \
+ V(SecureSocket_NewServicePort, 0) \
+ V(SecureSocket_FilterPointer, 1) \
V(ServerSocket_CreateBindListen, 5) \
V(ServerSocket_Accept, 2) \
V(Socket_CreateConnect, 3) \
@@ -54,16 +64,7 @@ namespace bin {
V(Socket_NewServicePort, 0) \
V(Socket_GetType, 1) \
V(Socket_SetOption, 3) \
- V(SecureSocket_Connect, 9) \
- V(SecureSocket_Destroy, 1) \
- V(SecureSocket_Handshake, 1) \
- V(SecureSocket_Init, 1) \
- V(SecureSocket_PeerCertificate, 1) \
- V(SecureSocket_RegisterBadCertificateCallback, 2) \
- V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \
- V(SecureSocket_InitializeLibrary, 3) \
- V(SecureSocket_NewServicePort, 0) \
- V(SecureSocket_FilterPointer, 1) \
+ V(Stdin_ReadByte, 1) \
V(StringToSystemEncoding, 1) \
V(SystemEncodingToString, 1)
« no previous file with comments | « runtime/bin/io_impl_sources.gypi ('k') | runtime/bin/stdin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698