| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 | 89 |
| 90 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) { | 90 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) { |
| 91 Dart_EnterScope(); | 91 Dart_EnterScope(); |
| 92 Dart_ThrowException(DartUtils::NewDartArgumentError( | 92 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 93 "Secure Sockets unsupported on this platform")); | 93 "Secure Sockets unsupported on this platform")); |
| 94 Dart_ExitScope(); | 94 Dart_ExitScope(); |
| 95 } | 95 } |
| 96 | 96 |
| 97 | 97 |
| 98 void FUNCTION_NAME(SecureSocket_Renegotiate)(Dart_NativeArguments args) { |
| 99 Dart_EnterScope(); |
| 100 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 101 "Secure Sockets unsupported on this platform")); |
| 102 Dart_ExitScope(); |
| 103 } |
| 104 |
| 105 |
| 98 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { | 106 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { |
| 99 Dart_EnterScope(); | 107 Dart_EnterScope(); |
| 100 Dart_ThrowException(DartUtils::NewDartArgumentError( | 108 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| 101 "Secure Sockets unsupported on this platform")); | 109 "Secure Sockets unsupported on this platform")); |
| 102 Dart_ExitScope(); | 110 Dart_ExitScope(); |
| 103 } | 111 } |
| 104 } // namespace bin | 112 } // namespace bin |
| 105 } // namespace dart | 113 } // namespace dart |
| OLD | NEW |