Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: runtime/bin/io_service.cc

Issue 1824053002: Some build file cleanup (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Deps in new root certs Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/bin/io_impl_sources.gypi ('k') | runtime/bin/io_service_no_ssl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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)
6
7 #include "bin/io_service.h"
8
5 #include "bin/dartutils.h" 9 #include "bin/dartutils.h"
6 #include "bin/directory.h" 10 #include "bin/directory.h"
7 #include "bin/file.h" 11 #include "bin/file.h"
8 #include "bin/io_buffer.h" 12 #include "bin/io_buffer.h"
9 #include "bin/io_service.h"
10 #include "bin/secure_socket.h" 13 #include "bin/secure_socket.h"
11 #include "bin/socket.h" 14 #include "bin/socket.h"
12 #include "bin/utils.h" 15 #include "bin/utils.h"
13 16
14 #include "include/dart_api.h" 17 #include "include/dart_api.h"
15 18
16 #include "platform/globals.h" 19 #include "platform/globals.h"
17 #include "platform/utils.h" 20 #include "platform/utils.h"
18 21
19 namespace dart { 22 namespace dart {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 Dart_Port service_port = IOService::GetServicePort(); 68 Dart_Port service_port = IOService::GetServicePort();
66 if (service_port != ILLEGAL_PORT) { 69 if (service_port != ILLEGAL_PORT) {
67 // Return a send port for the service port. 70 // Return a send port for the service port.
68 Dart_Handle send_port = Dart_NewSendPort(service_port); 71 Dart_Handle send_port = Dart_NewSendPort(service_port);
69 Dart_SetReturnValue(args, send_port); 72 Dart_SetReturnValue(args, send_port);
70 } 73 }
71 } 74 }
72 75
73 } // namespace bin 76 } // namespace bin
74 } // namespace dart 77 } // namespace dart
78
79 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/io_impl_sources.gypi ('k') | runtime/bin/io_service_no_ssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698