| Index: runtime/bin/secure_socket_unsupported.cc
|
| diff --git a/runtime/bin/secure_socket_unsupported.cc b/runtime/bin/secure_socket_unsupported.cc
|
| index e07ea5e483348844a498f1da3ce4aae0a1ea7336..96b84e63154907ee6bee64915f80b6f179df367d 100644
|
| --- a/runtime/bin/secure_socket_unsupported.cc
|
| +++ b/runtime/bin/secure_socket_unsupported.cc
|
| @@ -19,160 +19,135 @@ void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) {
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_AddCertificate)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_Destroy)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_GetSelectedProtocol)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_RegisterBadCertificateCallback)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_ProcessBuffer)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_InitializeLibrary)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_PeerCertificate)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_Renegotiate)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_Allocate)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_UsePrivateKeyBytes)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_SetAlpnProtocols)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_SetClientAuthoritiesBytes)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)(
|
| Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(X509_Subject)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(X509_Issuer)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(X509_StartValidity)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| void FUNCTION_NAME(X509_EndValidity)(Dart_NativeArguments args) {
|
| Dart_ThrowException(DartUtils::NewDartArgumentError(
|
| "Secure Sockets unsupported on this platform"));
|
| }
|
|
|
| -
|
| class SSLFilter {
|
| public:
|
| static CObject* ProcessFilterRequest(const CObjectArray& request);
|
|
|