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

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

Issue 1839463002: Really remove io support when dart:io is unsupported. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
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) 5 #if !defined(DART_IO_DISABLED) && !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.h" 13 #include "bin/secure_socket.h"
14 #include "bin/socket.h" 14 #include "bin/socket.h"
15 #include "bin/utils.h" 15 #include "bin/utils.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 if (service_port != ILLEGAL_PORT) { 69 if (service_port != ILLEGAL_PORT) {
70 // Return a send port for the service port. 70 // Return a send port for the service port.
71 Dart_Handle send_port = Dart_NewSendPort(service_port); 71 Dart_Handle send_port = Dart_NewSendPort(service_port);
72 Dart_SetReturnValue(args, send_port); 72 Dart_SetReturnValue(args, send_port);
73 } 73 }
74 } 74 }
75 75
76 } // namespace bin 76 } // namespace bin
77 } // namespace dart 77 } // namespace dart
78 78
79 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) 79 #endif // !defined(DART_IO_DISABLED) &&
80 // !defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/io_service.h ('k') | runtime/bin/io_service_no_ssl.h » ('j') | runtime/bin/socket.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698