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

Unified Diff: dart/runtime/bin/secure_socket.h

Issue 625953002: Support for the ALPN extension of the TLS protocol for Client and Server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add test for ALPN negotiation Created 6 years, 2 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: dart/runtime/bin/secure_socket.h
diff --git a/dart/runtime/bin/secure_socket.h b/dart/runtime/bin/secure_socket.h
index ba8eb4fdd2920c450c74c6879bb1680306e90a69..0bce75033105a853828093d6934460b0f615b82a 100644
--- a/dart/runtime/bin/secure_socket.h
+++ b/dart/runtime/bin/secure_socket.h
@@ -61,9 +61,12 @@ class SSLFilter {
const char* certificate_name,
bool request_client_certificate,
bool require_client_certificate,
- bool send_client_certificate);
+ bool send_client_certificate,
+ uint8_t *protocols,
+ intptr_t protocols_len);
void Destroy();
void Handshake();
+ void GetSelectedProtocol(Dart_NativeArguments args);
void Renegotiate(bool use_session_cache,
bool request_client_certificate,
bool require_client_certificate);

Powered by Google App Engine
This is Rietveld 408576698