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 #include "bin/dartutils.h" | 5 #include "bin/dartutils.h" |
6 #include "bin/directory.h" | 6 #include "bin/directory.h" |
7 #include "bin/file.h" | 7 #include "bin/file.h" |
8 #include "bin/io_buffer.h" | 8 #include "bin/io_buffer.h" |
9 #include "bin/io_service.h" | 9 #include "bin/io_service_no_ssl.h" |
10 #include "bin/secure_socket.h" | |
11 #include "bin/socket.h" | 10 #include "bin/socket.h" |
12 #include "bin/utils.h" | 11 #include "bin/utils.h" |
13 | 12 |
14 #include "platform/globals.h" | 13 #include "platform/globals.h" |
15 #include "platform/utils.h" | 14 #include "platform/utils.h" |
16 | 15 |
17 #include "include/dart_api.h" | 16 #include "include/dart_api.h" |
18 | 17 |
19 | 18 |
20 namespace dart { | 19 namespace dart { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 if (service_port != ILLEGAL_PORT) { | 69 if (service_port != ILLEGAL_PORT) { |
71 // Return a send port for the service port. | 70 // Return a send port for the service port. |
72 Dart_Handle send_port = Dart_NewSendPort(service_port); | 71 Dart_Handle send_port = Dart_NewSendPort(service_port); |
73 Dart_SetReturnValue(args, send_port); | 72 Dart_SetReturnValue(args, send_port); |
74 } | 73 } |
75 } | 74 } |
76 | 75 |
77 | 76 |
78 } // namespace bin | 77 } // namespace bin |
79 } // namespace dart | 78 } // namespace dart |
OLD | NEW |