OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/builtin.h" | 5 #include "bin/builtin.h" |
6 #include "bin/dartutils.h" | 6 #include "bin/dartutils.h" |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 | 9 |
10 | 10 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 Dart_ThrowException(DartUtils::NewDartArgumentError( | 121 Dart_ThrowException(DartUtils::NewDartArgumentError( |
122 "Secure Sockets unsupported on this platform")); | 122 "Secure Sockets unsupported on this platform")); |
123 } | 123 } |
124 | 124 |
125 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( | 125 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( |
126 Dart_NativeArguments args) { | 126 Dart_NativeArguments args) { |
127 Dart_ThrowException(DartUtils::NewDartArgumentError( | 127 Dart_ThrowException(DartUtils::NewDartArgumentError( |
128 "Secure Sockets unsupported on this platform")); | 128 "Secure Sockets unsupported on this platform")); |
129 } | 129 } |
130 | 130 |
| 131 void FUNCTION_NAME(SecurityContext_AlpnSupported)(Dart_NativeArguments args) { |
| 132 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 133 "Secure Sockets unsupported on this platform")); |
| 134 } |
| 135 |
131 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( | 136 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( |
132 Dart_NativeArguments args) { | 137 Dart_NativeArguments args) { |
133 Dart_ThrowException(DartUtils::NewDartArgumentError( | 138 Dart_ThrowException(DartUtils::NewDartArgumentError( |
134 "Secure Sockets unsupported on this platform")); | 139 "Secure Sockets unsupported on this platform")); |
135 } | 140 } |
136 | 141 |
137 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( | 142 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( |
138 Dart_NativeArguments args) { | 143 Dart_NativeArguments args) { |
139 Dart_ThrowException(DartUtils::NewDartArgumentError( | 144 Dart_ThrowException(DartUtils::NewDartArgumentError( |
140 "Secure Sockets unsupported on this platform")); | 145 "Secure Sockets unsupported on this platform")); |
(...skipping 23 matching lines...) Expand all Loading... |
164 public: | 169 public: |
165 static CObject* ProcessFilterRequest(const CObjectArray& request); | 170 static CObject* ProcessFilterRequest(const CObjectArray& request); |
166 }; | 171 }; |
167 | 172 |
168 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { | 173 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
169 return CObject::IllegalArgumentError(); | 174 return CObject::IllegalArgumentError(); |
170 } | 175 } |
171 | 176 |
172 } // namespace bin | 177 } // namespace bin |
173 } // namespace dart | 178 } // namespace dart |
OLD | NEW |