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

Side by Side Diff: runtime/bin/secure_socket.h

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 years, 1 month 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/run_vm_tests_fuchsia.cc ('k') | runtime/bin/secure_socket_boringssl.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef RUNTIME_BIN_SECURE_SOCKET_H_ 5 #ifndef RUNTIME_BIN_SECURE_SOCKET_H_
6 #define RUNTIME_BIN_SECURE_SOCKET_H_ 6 #define RUNTIME_BIN_SECURE_SOCKET_H_
7 7
8 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) 8 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED)
9 #error "secure_socket.h can only be included on builds with SSL enabled" 9 #error "secure_socket.h can only be included on builds with SSL enabled"
10 #endif 10 #endif
11 11
12 #include "platform/globals.h" 12 #include "platform/globals.h"
13 #if defined(TARGET_OS_ANDROID) || \ 13 #if defined(TARGET_OS_ANDROID) || defined(TARGET_OS_LINUX) || \
14 defined(TARGET_OS_LINUX) || \
15 defined(TARGET_OS_WINDOWS) 14 defined(TARGET_OS_WINDOWS)
16 #include "bin/secure_socket_boringssl.h" 15 #include "bin/secure_socket_boringssl.h"
17 #elif defined(TARGET_OS_MACOS) 16 #elif defined(TARGET_OS_MACOS)
18 #if TARGET_OS_IOS 17 #if TARGET_OS_IOS
19 #include "bin/secure_socket_ios.h" 18 #include "bin/secure_socket_ios.h"
20 #else // TARGET_OS_IOS 19 #else // TARGET_OS_IOS
21 #include "bin/secure_socket_macos.h" 20 #include "bin/secure_socket_macos.h"
22 #endif // TARGET_OS_IOS 21 #endif // TARGET_OS_IOS
23 #else 22 #else
24 #error Unknown target os. 23 #error Unknown target os.
25 #endif 24 #endif
26 25
27 #endif // RUNTIME_BIN_SECURE_SOCKET_H_ 26 #endif // RUNTIME_BIN_SECURE_SOCKET_H_
OLDNEW
« no previous file with comments | « runtime/bin/run_vm_tests_fuchsia.cc ('k') | runtime/bin/secure_socket_boringssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698