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

Side by Side Diff: runtime/bin/secure_socket_unsupported.cc

Issue 2926153004: Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHAN… (Closed)
Patch Set: Removed SecurityContext.alpnSupported, as ALPN is now supported on all platforms. Also updated CHAN… 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 unified diff | Download patch
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | runtime/bin/security_context.cc » ('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 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) 5 #if defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED)
6 6
7 #include "bin/builtin.h" 7 #include "bin/builtin.h"
8 #include "bin/dartutils.h" 8 #include "bin/dartutils.h"
9 #include "include/dart_api.h" 9 #include "include/dart_api.h"
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 } 128 }
129 129
130 130
131 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)( 131 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)(
132 Dart_NativeArguments args) { 132 Dart_NativeArguments args) {
133 Dart_ThrowException(DartUtils::NewDartArgumentError( 133 Dart_ThrowException(DartUtils::NewDartArgumentError(
134 "Secure Sockets unsupported on this platform")); 134 "Secure Sockets unsupported on this platform"));
135 } 135 }
136 136
137 137
138 void FUNCTION_NAME(SecurityContext_AlpnSupported)(Dart_NativeArguments args) {
139 Dart_ThrowException(DartUtils::NewDartArgumentError(
140 "Secure Sockets unsupported on this platform"));
141 }
142
143
144 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( 138 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)(
145 Dart_NativeArguments args) { 139 Dart_NativeArguments args) {
146 Dart_ThrowException(DartUtils::NewDartArgumentError( 140 Dart_ThrowException(DartUtils::NewDartArgumentError(
147 "Secure Sockets unsupported on this platform")); 141 "Secure Sockets unsupported on this platform"));
148 } 142 }
149 143
150 144
151 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)( 145 void FUNCTION_NAME(SecurityContext_UseCertificateChainBytes)(
152 Dart_NativeArguments args) { 146 Dart_NativeArguments args) {
153 Dart_ThrowException(DartUtils::NewDartArgumentError( 147 Dart_ThrowException(DartUtils::NewDartArgumentError(
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 }; 179 };
186 180
187 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { 181 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) {
188 return CObject::IllegalArgumentError(); 182 return CObject::IllegalArgumentError();
189 } 183 }
190 184
191 } // namespace bin 185 } // namespace bin
192 } // namespace dart 186 } // namespace dart
193 187
194 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) 188 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | runtime/bin/security_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698