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

Unified Diff: runtime/bin/secure_socket_patch.dart

Issue 2926153004: Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHAN… (Closed)
Patch Set: Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHAN… Created 3 years, 6 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/secure_socket_unsupported.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_patch.dart
diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
index 735ba3b29fdf88aa58303bc8a56b8d3fbc2fff45..dffa6f638272e2e772c74654f97775dcd518a5d2 100644
--- a/runtime/bin/secure_socket_patch.dart
+++ b/runtime/bin/secure_socket_patch.dart
@@ -129,11 +129,6 @@ class SecurityContext {
static SecurityContext get defaultContext {
return _SecurityContext.defaultContext;
}
-
- @patch
- static bool get alpnSupported {
- return _SecurityContext.alpnSupported;
- }
}
class _SecurityContext extends NativeFieldWrapperClass1
@@ -179,8 +174,6 @@ class _SecurityContext extends NativeFieldWrapperClass1
void setClientAuthoritiesBytes(List<int> authCertBytes, {String password})
native "SecurityContext_SetClientAuthoritiesBytes";
- static bool get alpnSupported => _alpnSupported();
- static bool _alpnSupported() native "SecurityContext_AlpnSupported";
void setAlpnProtocols(List<String> protocols, bool isServer) {
Uint8List encodedProtocols =
SecurityContext._protocolsToLengthEncoding(protocols);
« no previous file with comments | « runtime/bin/io_natives.cc ('k') | runtime/bin/secure_socket_unsupported.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698