OLD | NEW |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 void FUNCTION_NAME(SecureSocket_PeerCertificate) | 81 void FUNCTION_NAME(SecureSocket_PeerCertificate) |
82 (Dart_NativeArguments args) { | 82 (Dart_NativeArguments args) { |
83 Dart_EnterScope(); | 83 Dart_EnterScope(); |
84 Dart_ThrowException(DartUtils::NewDartArgumentError( | 84 Dart_ThrowException(DartUtils::NewDartArgumentError( |
85 "Secure Sockets unsupported on this platform")); | 85 "Secure Sockets unsupported on this platform")); |
86 Dart_ExitScope(); | 86 Dart_ExitScope(); |
87 } | 87 } |
88 | 88 |
89 } // namespace bin | 89 } // namespace bin |
90 } // namespace dart | 90 } // namespace dart |
OLD | NEW |