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

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

Issue 1721283002: Implements secure sockets on Mac OS with SecureTransport API (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments 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/secure_socket.cc ('k') | runtime/bin/secure_socket_boringssl.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) 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 BIN_SECURE_SOCKET_H_ 5 #ifndef BIN_SECURE_SOCKET_BORINGSSL_H_
6 #define BIN_SECURE_SOCKET_H_ 6 #define BIN_SECURE_SOCKET_BORINGSSL_H_
7 7
8 #ifdef DART_IO_SECURE_SOCKET_DISABLED 8 #if !defined(BIN_SECURE_SOCKET_H_)
9 #error "secure_socket.h can only be included on builds with SSL enabled" 9 #error Do not include secure_socket_boringssl.h directly. Use secure_socket.h.
10 #endif 10 #endif
11 11
12 #include <stdio.h> 12 #include <stdio.h>
13 #include <stdlib.h> 13 #include <stdlib.h>
14 #include <string.h> 14 #include <string.h>
15 #include <sys/types.h> 15 #include <sys/types.h>
16 16
17 #include <openssl/bio.h> 17 #include <openssl/bio.h>
18 #include <openssl/err.h> 18 #include <openssl/err.h>
19 #include <openssl/ssl.h> 19 #include <openssl/ssl.h>
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 Dart_Handle InitializeBuffers(Dart_Handle dart_this); 124 Dart_Handle InitializeBuffers(Dart_Handle dart_this);
125 void InitializePlatformData(); 125 void InitializePlatformData();
126 126
127 DISALLOW_COPY_AND_ASSIGN(SSLFilter); 127 DISALLOW_COPY_AND_ASSIGN(SSLFilter);
128 }; 128 };
129 129
130 } // namespace bin 130 } // namespace bin
131 } // namespace dart 131 } // namespace dart
132 132
133 #endif // BIN_SECURE_SOCKET_H_ 133 #endif // BIN_SECURE_SOCKET_BORINGSSL_H_
OLDNEW
« no previous file with comments | « runtime/bin/secure_socket.cc ('k') | runtime/bin/secure_socket_boringssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698