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

Unified Diff: sdk/lib/io/security_context.dart

Issue 2928013002: Revert "Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also upda… (Closed)
Patch Set: Removed extra @deprecated annotations and updated documentation. 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 | « sdk/lib/_internal/js_runtime/lib/io_patch.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/security_context.dart
diff --git a/sdk/lib/io/security_context.dart b/sdk/lib/io/security_context.dart
index 73f883c76612714454453d9b9a5e6e9074d06677..40a2f160f50977b66e38b2aed0ecfef73656d269 100644
--- a/sdk/lib/io/security_context.dart
+++ b/sdk/lib/io/security_context.dart
@@ -148,6 +148,13 @@ abstract class SecurityContext {
*/
void setClientAuthoritiesBytes(List<int> authCertBytes, {String password});
+ /**
+ * Whether the platform supports ALPN. This always returns true and will be
+ * removed in a future release.
+ */
+ @deprecated
+ external static bool get alpnSupported;
+
/**
* Sets the list of application-level protocols supported by a client
* connection or server connection. The ALPN (application level protocol
« no previous file with comments | « sdk/lib/_internal/js_runtime/lib/io_patch.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698