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

Side by Side Diff: runtime/bin/io_natives.cc

Issue 2926153004: Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHAN… (Closed)
Patch Set: Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHAN… Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/io_natives.h" 5 #include "bin/io_natives.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 #include <string.h> 8 #include <string.h>
9 9
10 #include "bin/builtin.h" 10 #include "bin/builtin.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 V(SecureSocket_FilterPointer, 1) \ 109 V(SecureSocket_FilterPointer, 1) \
110 V(SecureSocket_GetSelectedProtocol, 1) \ 110 V(SecureSocket_GetSelectedProtocol, 1) \
111 V(SecureSocket_Handshake, 1) \ 111 V(SecureSocket_Handshake, 1) \
112 V(SecureSocket_Init, 1) \ 112 V(SecureSocket_Init, 1) \
113 V(SecureSocket_PeerCertificate, 1) \ 113 V(SecureSocket_PeerCertificate, 1) \
114 V(SecureSocket_RegisterBadCertificateCallback, 2) \ 114 V(SecureSocket_RegisterBadCertificateCallback, 2) \
115 V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \ 115 V(SecureSocket_RegisterHandshakeCompleteCallback, 2) \
116 V(SecureSocket_Renegotiate, 4) \ 116 V(SecureSocket_Renegotiate, 4) \
117 V(SecurityContext_Allocate, 1) \ 117 V(SecurityContext_Allocate, 1) \
118 V(SecurityContext_UsePrivateKeyBytes, 3) \ 118 V(SecurityContext_UsePrivateKeyBytes, 3) \
119 V(SecurityContext_AlpnSupported, 0) \
120 V(SecurityContext_SetAlpnProtocols, 3) \ 119 V(SecurityContext_SetAlpnProtocols, 3) \
121 V(SecurityContext_SetClientAuthoritiesBytes, 3) \ 120 V(SecurityContext_SetClientAuthoritiesBytes, 3) \
122 V(SecurityContext_SetTrustedCertificatesBytes, 3) \ 121 V(SecurityContext_SetTrustedCertificatesBytes, 3) \
123 V(SecurityContext_TrustBuiltinRoots, 1) \ 122 V(SecurityContext_TrustBuiltinRoots, 1) \
124 V(SecurityContext_UseCertificateChainBytes, 3) \ 123 V(SecurityContext_UseCertificateChainBytes, 3) \
125 V(ServerSocket_Accept, 2) \ 124 V(ServerSocket_Accept, 2) \
126 V(ServerSocket_CreateBindListen, 6) \ 125 V(ServerSocket_CreateBindListen, 6) \
127 V(SocketBase_IsBindError, 2) \ 126 V(SocketBase_IsBindError, 2) \
128 V(Socket_Available, 1) \ 127 V(Socket_Available, 1) \
129 V(Socket_CreateBindConnect, 4) \ 128 V(Socket_CreateBindConnect, 4) \
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 struct NativeEntries* entry = &(IOEntries[i]); 205 struct NativeEntries* entry = &(IOEntries[i]);
207 if (reinterpret_cast<Dart_NativeFunction>(entry->function_) == nf) { 206 if (reinterpret_cast<Dart_NativeFunction>(entry->function_) == nf) {
208 return reinterpret_cast<const uint8_t*>(entry->name_); 207 return reinterpret_cast<const uint8_t*>(entry->name_);
209 } 208 }
210 } 209 }
211 return NULL; 210 return NULL;
212 } 211 }
213 212
214 } // namespace bin 213 } // namespace bin
215 } // namespace dart 214 } // namespace dart
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart ('k') | runtime/bin/secure_socket_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698