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

Unified Diff: dart/runtime/bin/secure_socket_unsupported.cc

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: Created 6 years, 1 month 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 | « dart/runtime/bin/secure_socket_patch.dart ('k') | dart/sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/bin/secure_socket_unsupported.cc
diff --git a/dart/runtime/bin/secure_socket_unsupported.cc b/dart/runtime/bin/secure_socket_unsupported.cc
index f382425d7c09cfdd62eba1685e299ac2da34636a..ff7cce6399c90a04196d6e9727e6e888adbdd69a 100644
--- a/dart/runtime/bin/secure_socket_unsupported.cc
+++ b/dart/runtime/bin/secure_socket_unsupported.cc
@@ -41,6 +41,13 @@ void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) {
}
+void FUNCTION_NAME(SecureSocket_GetSelectedProtocol)(
+ Dart_NativeArguments args) {
+ Dart_ThrowException(DartUtils::NewDartArgumentError(
+ "Secure Sockets unsupported on this platform"));
+}
+
+
void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)(
Dart_NativeArguments args) {
Dart_ThrowException(DartUtils::NewDartArgumentError(
« no previous file with comments | « dart/runtime/bin/secure_socket_patch.dart ('k') | dart/sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698