diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-28 18:14:00 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-28 18:14:00 +0000 |
commit | aa24087660b005d3d5379eadd0a98d80ed7a16e8 (patch) | |
tree | 7c061084c4a5299b43525eb751d06b82724e11ff /ppapi/c | |
parent | 3ca185cdb039551e08443c671a5d3a78cbc6454c (diff) | |
download | chromium_src-aa24087660b005d3d5379eadd0a98d80ed7a16e8.zip chromium_src-aa24087660b005d3d5379eadd0a98d80ed7a16e8.tar.gz chromium_src-aa24087660b005d3d5379eadd0a98d80ed7a16e8.tar.bz2 |
Remove PPB_Flash_NetConnector and ENABLE_FLAPPER_HACKS.
PPB_Flash_NetConnector has been superseded by less hacky and more general
interfaces. ENABLE_FLAPPER_HACKS only enabled PPB_Flash_NetConnector.
TEST=builds (and still passes PPAPI tests)
TBR=darin@chromium.org
Review URL: http://codereview.chromium.org/9836131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129444 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r-- | ppapi/c/private/ppb_flash_net_connector.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ppapi/c/private/ppb_flash_net_connector.h b/ppapi/c/private/ppb_flash_net_connector.h deleted file mode 100644 index b3bda63..0000000 --- a/ppapi/c/private/ppb_flash_net_connector.h +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef PPAPI_C_PRIVATE_PPB_FLASH_NET_CONNECTOR_H_ -#define PPAPI_C_PRIVATE_PPB_FLASH_NET_CONNECTOR_H_ - -// TODO(viettrungluu): Remove this interface; it's on life-support right now. - -#include "ppapi/c/pp_bool.h" -#include "ppapi/c/pp_instance.h" -#include "ppapi/c/pp_resource.h" -#include "ppapi/c/private/ppb_flash_file.h" // For |PP_FileHandle|. -#include "ppapi/c/private/ppb_net_address_private.h" - -#define PPB_FLASH_NETCONNECTOR_INTERFACE_0_2 "PPB_Flash_NetConnector;0.2" -#define PPB_FLASH_NETCONNECTOR_INTERFACE PPB_FLASH_NETCONNECTOR_INTERFACE_0_2 - -struct PPB_Flash_NetConnector_0_2 { - PP_Resource (*Create)(PP_Instance instance_id); - PP_Bool (*IsFlashNetConnector)(PP_Resource resource_id); - - // Connect to a TCP port given as a host-port pair. The local and remote - // addresses of the connection (if successful) are returned in - // |local_addr_out| and |remote_addr_out|, respectively, if non-null. - int32_t (*ConnectTcp)(PP_Resource connector_id, - const char* host, - uint16_t port, - PP_FileHandle* socket_out, - struct PP_NetAddress_Private* local_addr_out, - struct PP_NetAddress_Private* remote_addr_out, - struct PP_CompletionCallback callback); - - // Same as |ConnectTcp()|, but connecting to the address given by |addr|. A - // typical use-case would be for reconnections. - int32_t (*ConnectTcpAddress)(PP_Resource connector_id, - const struct PP_NetAddress_Private* addr, - PP_FileHandle* socket_out, - struct PP_NetAddress_Private* local_addr_out, - struct PP_NetAddress_Private* remote_addr_out, - struct PP_CompletionCallback callback); -}; - -typedef struct PPB_Flash_NetConnector_0_2 PPB_Flash_NetConnector; - -#endif // PPAPI_C_PRIVATE_PPB_FLASH_NET_CONNECTOR_H_ |