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

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

Issue 1616073004: Adds SecurityContext.usePrivateKeyBytes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 void FUNCTION_NAME(SecurityContext_Allocate)(Dart_NativeArguments args) { 102 void FUNCTION_NAME(SecurityContext_Allocate)(Dart_NativeArguments args) {
103 Dart_ThrowException(DartUtils::NewDartArgumentError( 103 Dart_ThrowException(DartUtils::NewDartArgumentError(
104 "Secure Sockets unsupported on this platform")); 104 "Secure Sockets unsupported on this platform"));
105 } 105 }
106 106
107 void FUNCTION_NAME(SecurityContext_UsePrivateKey)(Dart_NativeArguments args) { 107 void FUNCTION_NAME(SecurityContext_UsePrivateKey)(Dart_NativeArguments args) {
108 Dart_ThrowException(DartUtils::NewDartArgumentError( 108 Dart_ThrowException(DartUtils::NewDartArgumentError(
109 "Secure Sockets unsupported on this platform")); 109 "Secure Sockets unsupported on this platform"));
110 } 110 }
111 111
112 void FUNCTION_NAME(SecurityContext_UsePrivateKeyBytes)(
113 Dart_NativeArguments args) {
114 Dart_ThrowException(DartUtils::NewDartArgumentError(
115 "Secure Sockets unsupported on this platform"));
116 }
117
112 void FUNCTION_NAME(SecurityContext_SetAlpnProtocols)( 118 void FUNCTION_NAME(SecurityContext_SetAlpnProtocols)(
113 Dart_NativeArguments args) { 119 Dart_NativeArguments args) {
114 Dart_ThrowException(DartUtils::NewDartArgumentError( 120 Dart_ThrowException(DartUtils::NewDartArgumentError(
115 "Secure Sockets unsupported on this platform")); 121 "Secure Sockets unsupported on this platform"));
116 } 122 }
117 123
118 void FUNCTION_NAME(SecurityContext_SetClientAuthorities)( 124 void FUNCTION_NAME(SecurityContext_SetClientAuthorities)(
119 Dart_NativeArguments args) { 125 Dart_NativeArguments args) {
120 Dart_ThrowException(DartUtils::NewDartArgumentError( 126 Dart_ThrowException(DartUtils::NewDartArgumentError(
121 "Secure Sockets unsupported on this platform")); 127 "Secure Sockets unsupported on this platform"));
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 public: 169 public:
164 static CObject* ProcessFilterRequest(const CObjectArray& request); 170 static CObject* ProcessFilterRequest(const CObjectArray& request);
165 }; 171 };
166 172
167 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { 173 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) {
168 return CObject::IllegalArgumentError(); 174 return CObject::IllegalArgumentError();
169 } 175 }
170 176
171 } // namespace bin 177 } // namespace bin
172 } // namespace dart 178 } // 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