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

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: 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
« 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..24e2719f4194b166fcb01602330f369809936679 100644
--- a/sdk/lib/io/security_context.dart
+++ b/sdk/lib/io/security_context.dart
@@ -148,6 +148,12 @@ abstract class SecurityContext {
*/
void setClientAuthoritiesBytes(List<int> authCertBytes, {String password});
+ /**
+ * Whether the platform supports ALPN.
kevmoo 2017/06/08 20:47:54 It's good to put a note in the doccomment, too – e
+ */
+ @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