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

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

Issue 2750843003: Rename TARGET_OS_* to HOST_OS_*. (Closed)
Patch Set: DEPS Created 3 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/secure_socket_ios.cc ('k') | runtime/bin/socket.h » ('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) 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_DISABLED) && !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) && !TARGET_OS_IOS 8 #if defined(HOST_OS_MACOS) && !HOST_OS_IOS
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>
16 #include <sys/syslimits.h> 16 #include <sys/syslimits.h>
17 #include <stdio.h> 17 #include <stdio.h>
18 #include <string.h> 18 #include <string.h>
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 Log::Print("ProcessWritePlaintextBuffer: requested: %ld, written: %ld\n", 1802 Log::Print("ProcessWritePlaintextBuffer: requested: %ld, written: %ld\n",
1803 length, bytes); 1803 length, bytes);
1804 } 1804 }
1805 *bytes_processed = static_cast<intptr_t>(bytes); 1805 *bytes_processed = static_cast<intptr_t>(bytes);
1806 return status; 1806 return status;
1807 } 1807 }
1808 1808
1809 } // namespace bin 1809 } // namespace bin
1810 } // namespace dart 1810 } // namespace dart
1811 1811
1812 #endif // defined(TARGET_OS_MACOS) && !TARGET_OS_IOS 1812 #endif // defined(HOST_OS_MACOS) && !HOST_OS_IOS
1813 1813
1814 #endif // !defined(DART_IO_DISABLED) && 1814 #endif // !defined(DART_IO_DISABLED) &&
1815 // !defined(DART_IO_SECURE_SOCKET_DISABLED) 1815 // !defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/secure_socket_ios.cc ('k') | runtime/bin/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698