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

Unified Diff: runtime/bin/secure_socket_dummy.cc

Issue 16254005: Clean up the gyp build of standalone dart executable on Android. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 7 years, 7 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
« no previous file with comments | « runtime/bin/io_impl_sources_no_nss.gypi ('k') | runtime/bin/secure_socket_unsupported.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/secure_socket_dummy.cc
diff --git a/runtime/bin/secure_socket_dummy.cc b/runtime/bin/secure_socket_dummy.cc
deleted file mode 100644
index a571c8543d370efb454dd9ab3c39980e2dca008b..0000000000000000000000000000000000000000
--- a/runtime/bin/secure_socket_dummy.cc
+++ /dev/null
@@ -1,90 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#include "bin/builtin.h"
-#include "bin/dartutils.h"
-
-#include "include/dart_api.h"
-
-
-namespace dart {
-namespace bin {
-
-void FUNCTION_NAME(SecureSocket_Init)(Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_Connect)(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(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_Handshake)(Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_RegisterHandshakeCompleteCallback)(
- Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_RegisterBadCertificateCallback)(
- Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_ProcessBuffer)(Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_InitializeLibrary)
- (Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-
-void FUNCTION_NAME(SecureSocket_PeerCertificate)
- (Dart_NativeArguments args) {
- Dart_EnterScope();
- Dart_ThrowException(DartUtils::NewDartArgumentError(
- "Secure Sockets unsupported on this platform"));
- Dart_ExitScope();
-}
-
-} // namespace bin
-} // namespace dart
« no previous file with comments | « runtime/bin/io_impl_sources_no_nss.gypi ('k') | runtime/bin/secure_socket_unsupported.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698