| Index: runtime/bin/secure_socket_unsupported.cc
|
| ===================================================================
|
| --- runtime/bin/secure_socket_unsupported.cc (revision 25822)
|
| +++ runtime/bin/secure_socket_unsupported.cc (working copy)
|
| @@ -12,110 +12,84 @@
|
| namespace bin {
|
|
|
| void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_AddCertificate)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_Destroy)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)(
|
| Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_RegisterBadCertificateCallback)(
|
| Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_ProcessBuffer)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_InitializeLibrary)
|
| (Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_PeerCertificate)
|
| (Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_Renegotiate)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
|
|
|
|
| void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) {
|
| - Dart_EnterScope();
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| - Dart_ExitScope();
|
| }
|
| } // namespace bin
|
| } // namespace dart
|
|
|