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

Unified Diff: runtime/bin/io_service_no_ssl.h

Issue 1319703002: Breaking Change: merge BoringSSL branch into master (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/io_natives.cc ('k') | runtime/bin/io_service_no_ssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/io_service_no_ssl.h
diff --git a/runtime/bin/io_service.h b/runtime/bin/io_service_no_ssl.h
similarity index 93%
copy from runtime/bin/io_service.h
copy to runtime/bin/io_service_no_ssl.h
index 87810d0c5da704b6c37871b5a392d32f78533d0f..9cc7fc1a2f12a026efef956d6f8c3a4d1662f12f 100644
--- a/runtime/bin/io_service.h
+++ b/runtime/bin/io_service_no_ssl.h
@@ -2,8 +2,8 @@
// 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_IO_SERVICE_H_
-#define BIN_IO_SERVICE_H_
+#ifndef BIN_IO_SERVICE_NO_SSL_H_
+#define BIN_IO_SERVICE_NO_SSL_H_
#include "bin/builtin.h"
#include "bin/utils.h"
@@ -13,6 +13,8 @@ namespace dart {
namespace bin {
// This list must be kept in sync with the list in sdk/lib/io/io_service.dart
+// In this modified version, though, the request 39 for SSLFilter::ProcessFilter
+// is removed, for use in contexts in which secure sockets are not enabled.
#define IO_SERVICE_REQUEST_LIST(V) \
V(File, Exists, 0) \
V(File, Create, 1) \
@@ -52,8 +54,7 @@ namespace bin {
V(Directory, ListStart, 35) \
V(Directory, ListNext, 36) \
V(Directory, ListStop, 37) \
- V(Directory, Rename, 38) \
- V(SSLFilter, ProcessFilter, 39)
+ V(Directory, Rename, 38)
#define DECLARE_REQUEST(type, method, id) \
k##type##method##Request = id,
@@ -70,4 +71,4 @@ IO_SERVICE_REQUEST_LIST(DECLARE_REQUEST)
} // namespace bin
} // namespace dart
-#endif // BIN_IO_SERVICE_H_
+#endif // BIN_IO_SERVICE_NO_SSL_H_
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/io_service_no_ssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698