| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 | 80 |
| 81 void FUNCTION_NAME(SecureSocket_PeerCertificate) | 81 void FUNCTION_NAME(SecureSocket_PeerCertificate) |
| 82 (Dart_NativeArguments args) { | 82 (Dart_NativeArguments args) { |
| 83 Dart_EnterScope(); | 83 Dart_EnterScope(); |
| 84 Dart_ThrowException(DartUtils::NewDartArgumentError( | 84 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 85 "Secure Sockets unsupported on this platform")); | 85 "Secure Sockets unsupported on this platform")); |
| 86 Dart_ExitScope(); | 86 Dart_ExitScope(); |
| 87 } | 87 } |
| 88 | 88 |
| 89 |
| 90 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) { |
| 91 Dart_EnterScope(); |
| 92 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 93 "Secure Sockets unsupported on this platform")); |
| 94 Dart_ExitScope(); |
| 95 } |
| 96 |
| 97 |
| 98 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { |
| 99 Dart_EnterScope(); |
| 100 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 101 "Secure Sockets unsupported on this platform")); |
| 102 Dart_ExitScope(); |
| 103 } |
| 89 } // namespace bin | 104 } // namespace bin |
| 90 } // namespace dart | 105 } // namespace dart |
| OLD | NEW |