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 namespace dart { | 10 namespace dart { |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 Dart_ThrowException(DartUtils::NewDartArgumentError( | 120 Dart_ThrowException(DartUtils::NewDartArgumentError( |
121 "Secure Sockets unsupported on this platform")); | 121 "Secure Sockets unsupported on this platform")); |
122 } | 122 } |
123 | 123 |
124 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( | 124 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( |
125 Dart_NativeArguments args) { | 125 Dart_NativeArguments args) { |
126 Dart_ThrowException(DartUtils::NewDartArgumentError( | 126 Dart_ThrowException(DartUtils::NewDartArgumentError( |
127 "Secure Sockets unsupported on this platform")); | 127 "Secure Sockets unsupported on this platform")); |
128 } | 128 } |
129 | 129 |
| 130 void FUNCTION_NAME(SecurityContext_AlpnSupported)(Dart_NativeArguments args) { |
| 131 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 132 "Secure Sockets unsupported on this platform")); |
| 133 } |
| 134 |
130 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( | 135 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( |
131 Dart_NativeArguments args) { | 136 Dart_NativeArguments args) { |
132 Dart_ThrowException(DartUtils::NewDartArgumentError( | 137 Dart_ThrowException(DartUtils::NewDartArgumentError( |
133 "Secure Sockets unsupported on this platform")); | 138 "Secure Sockets unsupported on this platform")); |
134 } | 139 } |
135 | 140 |
136 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( | 141 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( |
137 Dart_NativeArguments args) { | 142 Dart_NativeArguments args) { |
138 Dart_ThrowException(DartUtils::NewDartArgumentError( | 143 Dart_ThrowException(DartUtils::NewDartArgumentError( |
139 "Secure Sockets unsupported on this platform")); | 144 "Secure Sockets unsupported on this platform")); |
(...skipping 23 matching lines...) Expand all Loading... |
163 public: | 168 public: |
164 static CObject* ProcessFilterRequest(const CObjectArray& request); | 169 static CObject* ProcessFilterRequest(const CObjectArray& request); |
165 }; | 170 }; |
166 | 171 |
167 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { | 172 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
168 return CObject::IllegalArgumentError(); | 173 return CObject::IllegalArgumentError(); |
169 } | 174 } |
170 | 175 |
171 } // namespace bin | 176 } // namespace bin |
172 } // namespace dart | 177 } // namespace dart |
OLD | NEW |