Chromium Code Reviews| 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.h" |
| 10 #include "bin/secure_socket.h" | 10 #include "bin/secure_socket.h" |
| 11 #include "bin/socket.h" | 11 #include "bin/socket.h" |
| 12 #include "bin/thread.h" | |
| 13 #include "bin/utils.h" | 12 #include "bin/utils.h" |
| 14 | 13 |
| 14 | |
|
siva
2014/08/12 21:01:28
extra blank line?
Ivan Posva
2014/08/12 23:20:46
Done.
| |
| 15 #include "platform/globals.h" | 15 #include "platform/globals.h" |
| 16 #include "platform/thread.h" | |
| 17 #include "platform/utils.h" | 16 #include "platform/utils.h" |
| 18 | 17 |
| 19 #include "include/dart_api.h" | 18 #include "include/dart_api.h" |
| 20 | 19 |
| 21 | 20 |
| 22 namespace dart { | 21 namespace dart { |
| 23 namespace bin { | 22 namespace bin { |
| 24 | 23 |
| 25 #define CASE_REQUEST(type, method, id) \ | 24 #define CASE_REQUEST(type, method, id) \ |
| 26 case IOService::k##type##method##Request: \ | 25 case IOService::k##type##method##Request: \ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 if (service_port != ILLEGAL_PORT) { | 71 if (service_port != ILLEGAL_PORT) { |
| 73 // Return a send port for the service port. | 72 // Return a send port for the service port. |
| 74 Dart_Handle send_port = Dart_NewSendPort(service_port); | 73 Dart_Handle send_port = Dart_NewSendPort(service_port); |
| 75 Dart_SetReturnValue(args, send_port); | 74 Dart_SetReturnValue(args, send_port); |
| 76 } | 75 } |
| 77 } | 76 } |
| 78 | 77 |
| 79 | 78 |
| 80 } // namespace bin | 79 } // namespace bin |
| 81 } // namespace dart | 80 } // namespace dart |
| OLD | NEW |