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

Side by Side Diff: runtime/bin/secure_socket_macos.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 "platform/globals.h" 7 #include "platform/globals.h"
8 #if defined(TARGET_OS_MACOS) 8 #if defined(TARGET_OS_MACOS)
9 9
10 #include "bin/secure_socket.h" 10 #include "bin/secure_socket.h"
11 #include "bin/secure_socket_macos.h" 11 #include "bin/secure_socket_macos.h"
12 12
13 #include <errno.h> 13 #include <errno.h>
14 #include <fcntl.h> 14 #include <fcntl.h>
15 #include <sys/stat.h> 15 #include <sys/stat.h>
(...skipping 2052 matching lines...) Expand 10 before | Expand all | Expand 10 after
2068 } 2068 }
2069 *bytes_processed = static_cast<intptr_t>(bytes); 2069 *bytes_processed = static_cast<intptr_t>(bytes);
2070 return status; 2070 return status;
2071 } 2071 }
2072 2072
2073 } // namespace bin 2073 } // namespace bin
2074 } // namespace dart 2074 } // namespace dart
2075 2075
2076 #endif // defined(TARGET_OS_MACOS) 2076 #endif // defined(TARGET_OS_MACOS)
2077 2077
2078 #endif // !defined(DART_IO_SECURE_SOCKET_DISABLED) 2078 #endif // !defined(DART_IO_DISABLED) &&
2079 // !defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698