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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 void FUNCTION_NAME(SecureSocket_Renegotiate)(Dart_NativeArguments args) { | 91 void FUNCTION_NAME(SecureSocket_Renegotiate)(Dart_NativeArguments args) { |
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 } | 94 } |
95 | 95 |
96 | 96 |
97 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { | 97 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { |
98 Dart_ThrowException(DartUtils::NewDartArgumentError( | 98 Dart_ThrowException(DartUtils::NewDartArgumentError( |
99 "Secure Sockets unsupported on this platform")); | 99 "Secure Sockets unsupported on this platform")); |
100 } | 100 } |
| 101 |
| 102 class SSLFilter { |
| 103 public: |
| 104 static CObject* ProcessFilterRequest(const CObjectArray& request); |
| 105 }; |
| 106 |
| 107 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
| 108 return CObject::IllegalArgumentError(); |
| 109 } |
| 110 |
101 } // namespace bin | 111 } // namespace bin |
102 } // namespace dart | 112 } // namespace dart |
OLD | NEW |