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

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

Issue 1665433002: Adds SecurityContext.setTrustedCertificatesBytes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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') | sdk/lib/io/http.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 Dart_ThrowException(DartUtils::NewDartArgumentError( 109 Dart_ThrowException(DartUtils::NewDartArgumentError(
110 "Secure Sockets unsupported on this platform")); 110 "Secure Sockets unsupported on this platform"));
111 } 111 }
112 112
113 void FUNCTION_NAME(SecurityContext_SetAlpnProtocols)( 113 void FUNCTION_NAME(SecurityContext_SetAlpnProtocols)(
114 Dart_NativeArguments args) { 114 Dart_NativeArguments args) {
115 Dart_ThrowException(DartUtils::NewDartArgumentError( 115 Dart_ThrowException(DartUtils::NewDartArgumentError(
116 "Secure Sockets unsupported on this platform")); 116 "Secure Sockets unsupported on this platform"));
117 } 117 }
118 118
119 void FUNCTION_NAME(SecurityContext_SetClientAuthorities)( 119 void FUNCTION_NAME(SecurityContext_SetClientAuthoritiesBytes)(
120 Dart_NativeArguments args) { 120 Dart_NativeArguments args) {
121 Dart_ThrowException(DartUtils::NewDartArgumentError( 121 Dart_ThrowException(DartUtils::NewDartArgumentError(
122 "Secure Sockets unsupported on this platform")); 122 "Secure Sockets unsupported on this platform"));
123 } 123 }
124 124
125 void FUNCTION_NAME(SecurityContext_SetTrustedCertificates)( 125 void FUNCTION_NAME(SecurityContext_SetTrustedCertificatesBytes)(
126 Dart_NativeArguments args) { 126 Dart_NativeArguments args) {
127 Dart_ThrowException(DartUtils::NewDartArgumentError( 127 Dart_ThrowException(DartUtils::NewDartArgumentError(
128 "Secure Sockets unsupported on this platform")); 128 "Secure Sockets unsupported on this platform"));
129 } 129 }
130 130
131 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)( 131 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)(
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 }
(...skipping 28 matching lines...) Expand all
164 public: 164 public:
165 static CObject* ProcessFilterRequest(const CObjectArray& request); 165 static CObject* ProcessFilterRequest(const CObjectArray& request);
166 }; 166 };
167 167
168 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { 168 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) {
169 return CObject::IllegalArgumentError(); 169 return CObject::IllegalArgumentError();
170 } 170 }
171 171
172 } // namespace bin 172 } // namespace bin
173 } // namespace dart 173 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | sdk/lib/io/http.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698