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

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

Issue 1800863002: Cleanup in //runtime/bin (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Windows fixes Created 4 years, 9 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
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
11 namespace dart { 10 namespace dart {
12 namespace bin { 11 namespace bin {
13 12
14 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) { 13 void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) {
15 Dart_ThrowException(DartUtils::NewDartArgumentError( 14 Dart_ThrowException(DartUtils::NewDartArgumentError(
16 "Secure Sockets unsupported on this platform")); 15 "Secure Sockets unsupported on this platform"));
17 } 16 }
18 17
19 18
20 void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) { 19 void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 public: 163 public:
165 static CObject* ProcessFilterRequest(const CObjectArray& request); 164 static CObject* ProcessFilterRequest(const CObjectArray& request);
166 }; 165 };
167 166
168 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) { 167 CObject* SSLFilter::ProcessFilterRequest(const CObjectArray& request) {
169 return CObject::IllegalArgumentError(); 168 return CObject::IllegalArgumentError();
170 } 169 }
171 170
172 } // namespace bin 171 } // namespace bin
173 } // namespace dart 172 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698