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

Unified Diff: runtime/bin/secure_socket_unsupported.cc

Issue 21015007: Fix sample_extension_test on 64-bit macos. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add fix for android compilation. 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/secure_socket_unsupported.cc
diff --git a/runtime/bin/secure_socket_unsupported.cc b/runtime/bin/secure_socket_unsupported.cc
index de97dc8024eb7ee994db7154d6e1cf8b4b060834..6695fa984d32708f8d3aff9557a6f038da8e1052 100644
--- a/runtime/bin/secure_socket_unsupported.cc
+++ b/runtime/bin/secure_socket_unsupported.cc
@@ -27,6 +27,14 @@ void FUNCTION_NAME(SecureSocket_Connect)(Dart_NativeArguments args) {
}
+void FUNCTION_NAME(SecureSocket_AddCertificate)(Dart_NativeArguments args) {
+ Dart_EnterScope();
+ Dart_ThrowException(DartUtils::NewDartArgumentError(
+ "Secure Sockets unsupported on this platform"));
+ Dart_ExitScope();
+}
+
+
void FUNCTION_NAME(SecureSocket_Destroy)(Dart_NativeArguments args) {
Dart_EnterScope();
Dart_ThrowException(DartUtils::NewDartArgumentError(
« no previous file with comments | « no previous file | samples/sample_extension/sample_extension.gyp » ('j') | samples/sample_extension/sample_extension.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698