| 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 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) |
| 6 | 6 |
| 7 #include "bin/builtin.h" | 7 #include "bin/builtin.h" |
| 8 #include "bin/dartutils.h" | 8 #include "bin/dartutils.h" |
| 9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
| 10 | 10 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 "Secure Sockets unsupported on this platform")); | 64 "Secure Sockets unsupported on this platform")); |
| 65 } | 65 } |
| 66 | 66 |
| 67 | 67 |
| 68 void FUNCTION_NAME(SecureSocket_ProcessBuffer)(Dart_NativeArguments args) { | 68 void FUNCTION_NAME(SecureSocket_ProcessBuffer)(Dart_NativeArguments args) { |
| 69 Dart_ThrowException(DartUtils::NewDartArgumentError( | 69 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 70 "Secure Sockets unsupported on this platform")); | 70 "Secure Sockets unsupported on this platform")); |
| 71 } | 71 } |
| 72 | 72 |
| 73 | 73 |
| 74 void FUNCTION_NAME(SecureSocket_InitializeLibrary) | 74 void FUNCTION_NAME(SecureSocket_InitializeLibrary)(Dart_NativeArguments args) { |
| 75 (Dart_NativeArguments args) { | |
| 76 Dart_ThrowException(DartUtils::NewDartArgumentError( | 75 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 77 "Secure Sockets unsupported on this platform")); | 76 "Secure Sockets unsupported on this platform")); |
| 78 } | 77 } |
| 79 | 78 |
| 80 | 79 |
| 81 void FUNCTION_NAME(SecureSocket_PeerCertificate) | 80 void FUNCTION_NAME(SecureSocket_PeerCertificate)(Dart_NativeArguments args) { |
| 82 (Dart_NativeArguments args) { | |
| 83 Dart_ThrowException(DartUtils::NewDartArgumentError( | 81 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 84 "Secure Sockets unsupported on this platform")); | 82 "Secure Sockets unsupported on this platform")); |
| 85 } | 83 } |
| 86 | 84 |
| 87 | 85 |
| 88 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) { | 86 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) { |
| 89 Dart_ThrowException(DartUtils::NewDartArgumentError( | 87 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 90 "Secure Sockets unsupported on this platform")); | 88 "Secure Sockets unsupported on this platform")); |
| 91 } | 89 } |
| 92 | 90 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 }; | 185 }; |
| 188 | 186 |
| 189 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { | 187 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
| 190 return CObject::IllegalArgumentError(); | 188 return CObject::IllegalArgumentError(); |
| 191 } | 189 } |
| 192 | 190 |
| 193 } // namespace bin | 191 } // namespace bin |
| 194 } // namespace dart | 192 } // namespace dart |
| 195 | 193 |
| 196 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) | 194 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) |
| OLD | NEW |