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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "bin/builtin.h" 5 #include "bin/builtin.h"
6 #include "bin/dartutils.h" 6 #include "bin/dartutils.h"
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 10
(...skipping 23 matching lines...) Expand all
34 "Secure Sockets unsupported on this platform")); 34 "Secure Sockets unsupported on this platform"));
35 } 35 }
36 36
37 37
38 void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) { 38 void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) {
39 Dart_ThrowException(DartUtils::NewDartArgumentError( 39 Dart_ThrowException(DartUtils::NewDartArgumentError(
40 "Secure Sockets unsupported on this platform")); 40 "Secure Sockets unsupported on this platform"));
41 } 41 }
42 42
43 43
44 void FUNCTION_NAME(SecureSocket_GetSelectedProtocol)(
45 Dart_NativeArguments args) {
46 Dart_ThrowException(DartUtils::NewDartArgumentError(
47 "Secure Sockets unsupported on this platform"));
48 }
49
50
44 void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)( 51 void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)(
45 Dart_NativeArguments args) { 52 Dart_NativeArguments args) {
46 Dart_ThrowException(DartUtils::NewDartArgumentError( 53 Dart_ThrowException(DartUtils::NewDartArgumentError(
47 "Secure Sockets unsupported on this platform")); 54 "Secure Sockets unsupported on this platform"));
48 } 55 }
49 56
50 57
51 void FUNCTION_NAME(SecureSocket_RegisterBadCertificateCallback)( 58 void FUNCTION_NAME(SecureSocket_RegisterBadCertificateCallback)(
52 Dart_NativeArguments args) { 59 Dart_NativeArguments args) {
53 Dart_ThrowException(DartUtils::NewDartArgumentError( 60 Dart_ThrowException(DartUtils::NewDartArgumentError(
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 "Secure Sockets unsupported on this platform")); 93 "Secure Sockets unsupported on this platform"));
87 } 94 }
88 95
89 96
90 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { 97 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) {
91 Dart_ThrowException(DartUtils::NewDartArgumentError( 98 Dart_ThrowException(DartUtils::NewDartArgumentError(
92 "Secure Sockets unsupported on this platform")); 99 "Secure Sockets unsupported on this platform"));
93 } 100 }
94 } // namespace bin 101 } // namespace bin
95 } // namespace dart 102 } // namespace dart
OLDNEW
« 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