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_DISABLED) && !defined(DART_IO_SECURE_SOCKET_DISABLED) | 5 #if !defined(DART_IO_SECURE_SOCKET_DISABLED) |
6 | 6 |
7 #include "bin/io_service.h" | 7 #include "bin/io_service.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/secure_socket_filter.h" | 13 #include "bin/secure_socket_filter.h" |
14 #include "bin/security_context.h" | 14 #include "bin/security_context.h" |
15 #include "bin/socket.h" | 15 #include "bin/socket.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 if (service_port != ILLEGAL_PORT) { | 64 if (service_port != ILLEGAL_PORT) { |
65 // Return a send port for the service port. | 65 // Return a send port for the service port. |
66 Dart_Handle send_port = Dart_NewSendPort(service_port); | 66 Dart_Handle send_port = Dart_NewSendPort(service_port); |
67 Dart_SetReturnValue(args, send_port); | 67 Dart_SetReturnValue(args, send_port); |
68 } | 68 } |
69 } | 69 } |
70 | 70 |
71 } // namespace bin | 71 } // namespace bin |
72 } // namespace dart | 72 } // namespace dart |
73 | 73 |
74 #endif // !defined(DART_IO_DISABLED) && | 74 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) |
75 // !defined(DART_IO_SECURE_SOCKET_DISABLED) | |
OLD | NEW |