| 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 #if defined(DART_IO_SECURE_SOCKET_DISABLED) |
| 6 |
| 5 #include "bin/builtin.h" | 7 #include "bin/builtin.h" |
| 6 #include "bin/dartutils.h" | 8 #include "bin/dartutils.h" |
| 7 | 9 |
| 8 #include "include/dart_api.h" | 10 #include "include/dart_api.h" |
| 9 | 11 |
| 10 namespace dart { | 12 namespace dart { |
| 11 namespace bin { | 13 namespace bin { |
| 12 | 14 |
| 13 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) { | 15 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) { |
| 14 Dart_ThrowException(DartUtils::NewDartArgumentError( | 16 Dart_ThrowException(DartUtils::NewDartArgumentError( |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 public: | 170 public: |
| 169 static CObject* ProcessFilterRequest(const CObjectArray& request); | 171 static CObject* ProcessFilterRequest(const CObjectArray& request); |
| 170 }; | 172 }; |
| 171 | 173 |
| 172 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { | 174 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { |
| 173 return CObject::IllegalArgumentError(); | 175 return CObject::IllegalArgumentError(); |
| 174 } | 176 } |
| 175 | 177 |
| 176 } // namespace bin | 178 } // namespace bin |
| 177 } // namespace dart | 179 } // namespace dart |
| 180 |
| 181 #endif // defined(DART_IO_SECURE_SOCKET_DISABLED) |
| OLD | NEW |