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

Unified Diff: runtime/bin/secure_socket_boringssl.h

Issue 1764403002: Set up for mac native secure sockets (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_boringssl.h
diff --git a/runtime/bin/secure_socket.h b/runtime/bin/secure_socket_boringssl.h
similarity index 94%
copy from runtime/bin/secure_socket.h
copy to runtime/bin/secure_socket_boringssl.h
index 754d2402e62a30b5d0cf5d91eb6fc526adb59fb1..3d143b9ef341307fe2b3e223b5f47d21107cbae4 100644
--- a/runtime/bin/secure_socket.h
+++ b/runtime/bin/secure_socket_boringssl.h
@@ -2,11 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#ifndef BIN_SECURE_SOCKET_H_
-#define BIN_SECURE_SOCKET_H_
+#ifndef BIN_SECURE_SOCKET_BORINGSSL_H_
+#define BIN_SECURE_SOCKET_BORINGSSL_H_
-#ifdef DART_IO_SECURE_SOCKET_DISABLED
-#error "secure_socket.h can only be included on builds with SSL enabled"
+#if !defined(BIN_SECURE_SOCKET_H_)
+#error Do not include secure_socket_boringssl.h directly. Use secure_socket.h.
#endif
#include <stdlib.h>
@@ -131,4 +131,4 @@ class SSLFilter {
} // namespace bin
} // namespace dart
-#endif // BIN_SECURE_SOCKET_H_
+#endif // BIN_SECURE_SOCKET_BORINGSSL_H_
« 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