| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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) | 5 #if !defined(DART_IO_DISABLED) && defined(DART_IO_SECURE_SOCKET_DISABLED) |
| 6 | 6 |
| 7 #include "bin/io_service_no_ssl.h" | 7 #include "bin/io_service_no_ssl.h" |
| 8 | 8 |
| 9 #include "bin/dartutils.h" | 9 #include "bin/dartutils.h" |
| 10 #include "bin/directory.h" | 10 #include "bin/directory.h" |
| 11 #include "bin/file.h" | 11 #include "bin/file.h" |
| 12 #include "bin/io_buffer.h" | 12 #include "bin/io_buffer.h" |
| 13 #include "bin/socket.h" | 13 #include "bin/socket.h" |
| 14 #include "bin/utils.h" | 14 #include "bin/utils.h" |
| 15 | 15 |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 if (service_port != ILLEGAL_PORT) { | 68 if (service_port != ILLEGAL_PORT) { |
| 69 // Return a send port for the service port. | 69 // Return a send port for the service port. |
| 70 Dart_Handle send_port = Dart_NewSendPort(service_port); | 70 Dart_Handle send_port = Dart_NewSendPort(service_port); |
| 71 Dart_SetReturnValue(args, send_port); | 71 Dart_SetReturnValue(args, send_port); |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 | 74 |
| 75 } // namespace bin | 75 } // namespace bin |
| 76 } // namespace dart | 76 } // namespace dart |
| 77 | 77 |
| 78 #endif // defined(DART_IO_SECURE_SOCKET_DISABLED) | 78 #endif // !defined(DART_IO_DISABLED) && defined(DART_IO_SECURE_SOCKET_DISABLED) |
| OLD | NEW |