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

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

Issue 19269011: Add dummy implementation of SecureSocket_Renegotiate to Android platform. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« 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 #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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 89
90 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) { 90 void FUNCTION_NAME(SecureSocket_FilterPointer)(Dart_NativeArguments args) {
91 Dart_EnterScope(); 91 Dart_EnterScope();
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 Dart_ExitScope(); 94 Dart_ExitScope();
95 } 95 }
96 96
97 97
98 void FUNCTION_NAME(SecureSocket_Renegotiate)(Dart_NativeArguments args) {
99 Dart_EnterScope();
100 Dart_ThrowException(DartUtils::NewDartArgumentError(
101 "Secure Sockets unsupported on this platform"));
102 Dart_ExitScope();
103 }
104
105
98 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) { 106 void FUNCTION_NAME(SecureSocket_NewServicePort)(Dart_NativeArguments args) {
99 Dart_EnterScope(); 107 Dart_EnterScope();
100 Dart_ThrowException(DartUtils::NewDartArgumentError( 108 Dart_ThrowException(DartUtils::NewDartArgumentError(
101 "Secure Sockets unsupported on this platform")); 109 "Secure Sockets unsupported on this platform"));
102 Dart_ExitScope(); 110 Dart_ExitScope();
103 } 111 }
104 } // namespace bin 112 } // namespace bin
105 } // namespace dart 113 } // namespace dart
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