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

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

Issue 1319703002: Breaking Change: merge BoringSSL branch into master (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/utils.h » ('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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 Dart_ThrowException(DartUtils::NewDartArgumentError( 92 Dart_ThrowException(DartUtils::NewDartArgumentError(
93 "Secure Sockets unsupported on this platform")); 93 "Secure Sockets unsupported on this platform"));
94 } 94 }
95 95
96 96
97 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { 97 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) {
98 Dart_ThrowException(DartUtils::NewDartArgumentError( 98 Dart_ThrowException(DartUtils::NewDartArgumentError(
99 "Secure Sockets unsupported on this platform")); 99 "Secure Sockets unsupported on this platform"));
100 } 100 }
101 101
102 void FUNCTION_NAME(SecurityContext_Allocate)(Dart_NativeArguments args) {
103 Dart_ThrowException(DartUtils::NewDartArgumentError(
104 "Secure Sockets unsupported on this platform"));
105 }
106
107 void FUNCTION_NAME(SecurityContext_UsePrivateKey)(Dart_NativeArguments args) {
108 Dart_ThrowException(DartUtils::NewDartArgumentError(
109 "Secure Sockets unsupported on this platform"));
110 }
111
112 void FUNCTION_NAME(SecurityContext_SetAlpnProtocols)(
113 Dart_NativeArguments args) {
114 Dart_ThrowException(DartUtils::NewDartArgumentError(
115 "Secure Sockets unsupported on this platform"));
116 }
117
118 void FUNCTION_NAME(SecurityContext_SetClientAuthorities)(
119 Dart_NativeArguments args) {
120 Dart_ThrowException(DartUtils::NewDartArgumentError(
121 "Secure Sockets unsupported on this platform"));
122 }
123
124 void FUNCTION_NAME(SecurityContext_SetTrustedCertificates)(
125 Dart_NativeArguments args) {
126 Dart_ThrowException(DartUtils::NewDartArgumentError(
127 "Secure Sockets unsupported on this platform"));
128 }
129
130 void FUNCTION_NAME(SecurityContext_TrustBuiltinRoots)(
131 Dart_NativeArguments args) {
132 Dart_ThrowException(DartUtils::NewDartArgumentError(
133 "Secure Sockets unsupported on this platform"));
134 }
135
136 void FUNCTION_NAME(SecurityContext_UseCertificateChain)(
137 Dart_NativeArguments args) {
138 Dart_ThrowException(DartUtils::NewDartArgumentError(
139 "Secure Sockets unsupported on this platform"));
140 }
141
142 void FUNCTION_NAME(X509_Subject)(Dart_NativeArguments args) {
143 Dart_ThrowException(DartUtils::NewDartArgumentError(
144 "Secure Sockets unsupported on this platform"));
145 }
146
147 void FUNCTION_NAME(X509_Issuer)(Dart_NativeArguments args) {
148 Dart_ThrowException(DartUtils::NewDartArgumentError(
149 "Secure Sockets unsupported on this platform"));
150 }
151
152 void FUNCTION_NAME(X509_StartValidity)(Dart_NativeArguments args) {
153 Dart_ThrowException(DartUtils::NewDartArgumentError(
154 "Secure Sockets unsupported on this platform"));
155 }
156
157 void FUNCTION_NAME(X509_EndValidity)(Dart_NativeArguments args) {
158 Dart_ThrowException(DartUtils::NewDartArgumentError(
159 "Secure Sockets unsupported on this platform"));
160 }
161
102 class SSLFilter { 162 class SSLFilter {
103 public: 163 public:
104 static CObject* ProcessFilterRequest(const CObjectArray& request); 164 static CObject* ProcessFilterRequest(const CObjectArray& request);
105 }; 165 };
106 166
107 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { 167 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) {
108 return CObject::IllegalArgumentError(); 168 return CObject::IllegalArgumentError();
109 } 169 }
110 170
111 } // namespace bin 171 } // namespace bin
112 } // namespace dart 172 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/secure_socket_patch.dart ('k') | runtime/bin/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698