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 | |
11 namespace dart { | 10 namespace dart { |
12 namespace bin { | 11 namespace bin { |
13 | 12 |
14 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) { | 13 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) { |
15 Dart_ThrowException(DartUtils::NewDartArgumentError( | 14 Dart_ThrowException(DartUtils::NewDartArgumentError( |
16 "Secure Sockets unsupported on this platform")); | 15 "Secure Sockets unsupported on this platform")); |
17 } | 16 } |
18 | 17 |
19 | 18 |
20 void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) { | 19 void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) { |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 public: | 163 public: |
165 static CObject* ProcessFilterRequest(const CObjectArray& request); | 164 static CObject* ProcessFilterRequest(const CObjectArray& request); |
166 }; | 165 }; |
167 | 166 |
168 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { | 167 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
169 return CObject::IllegalArgumentError(); | 168 return CObject::IllegalArgumentError(); |
170 } | 169 } |
171 | 170 |
172 } // namespace bin | 171 } // namespace bin |
173 } // namespace dart | 172 } // namespace dart |
OLD | NEW |