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

Unified Diff: runtime/bin/secure_socket_patch.dart

Issue 2928013002: Revert "Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also upda… (Closed)
Patch Set: Modified SecurityContext.alpnSupported to return true, and added @deprecated annotation. 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
Index: runtime/bin/secure_socket_patch.dart
diff --git a/runtime/bin/secure_socket_patch.dart b/runtime/bin/secure_socket_patch.dart
index dffa6f638272e2e772c74654f97775dcd518a5d2..b38e1a52560a80f6d6a45323dacd66b4f1c24945 100644
--- a/runtime/bin/secure_socket_patch.dart
+++ b/runtime/bin/secure_socket_patch.dart
@@ -129,6 +129,10 @@ class SecurityContext {
static SecurityContext get defaultContext {
return _SecurityContext.defaultContext;
}
+
+ @patch
+ @deprecated
+ static bool get alpnSupported => true;
}
class _SecurityContext extends NativeFieldWrapperClass1

Powered by Google App Engine
This is Rietveld 408576698