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

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

Issue 2345773004: Fixes Dartium build (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | 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
11 namespace dart { 11 namespace dart {
12 namespace bin { 12 namespace bin {
13 13
14 const char* commandline_root_certs_file = NULL;
15 const char* commandline_root_certs_cache = NULL;
16
14 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) { 17 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) {
15 Dart_ThrowException(DartUtils::NewDartArgumentError( 18 Dart_ThrowException(DartUtils::NewDartArgumentError(
16 "Secure Sockets unsupported on this platform")); 19 "Secure Sockets unsupported on this platform"));
17 } 20 }
18 21
19 22
20 void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) { 23 void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) {
21 Dart_ThrowException(DartUtils::NewDartArgumentError( 24 Dart_ThrowException(DartUtils::NewDartArgumentError(
22 "Secure Sockets unsupported on this platform")); 25 "Secure Sockets unsupported on this platform"));
23 } 26 }
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 }; 187 };
185 188
186 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { 189 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) {
187 return CObject::IllegalArgumentError(); 190 return CObject::IllegalArgumentError();
188 } 191 }
189 192
190 } // namespace bin 193 } // namespace bin
191 } // namespace dart 194 } // namespace dart
192 195
193 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED) 196 #endif // defined(DART_IO_DISABLED) || defined(DART_IO_SECURE_SOCKET_DISABLED)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698