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

Unified Diff: ppapi/c/private/ppb_flash_net_connector.h

Issue 8511032: Make the Pepper Flash net address just private, not Flash-specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: ppapi/c/private/ppb_flash_net_connector.h
diff --git a/ppapi/c/private/ppb_flash_net_connector.h b/ppapi/c/private/ppb_flash_net_connector.h
index bfe6981560c805c4b0e0ca209c798b01f58312e9..675f5be08f430698364bc1d491393a6ad053a401 100644
--- a/ppapi/c/private/ppb_flash_net_connector.h
+++ b/ppapi/c/private/ppb_flash_net_connector.h
@@ -5,11 +5,13 @@
#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_flash_tcp_socket.h"
+#include "ppapi/c/private/ppb_net_address_private.h"
#define PPB_FLASH_NETCONNECTOR_INTERFACE "PPB_Flash_NetConnector;0.2"
@@ -24,17 +26,17 @@ struct PPB_Flash_NetConnector {
const char* host,
uint16_t port,
PP_FileHandle* socket_out,
- struct PP_Flash_NetAddress* local_addr_out,
- struct PP_Flash_NetAddress* remote_addr_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_Flash_NetAddress* addr,
+ const struct PP_NetAddress_Private* addr,
PP_FileHandle* socket_out,
- struct PP_Flash_NetAddress* local_addr_out,
- struct PP_Flash_NetAddress* remote_addr_out,
+ struct PP_NetAddress_Private* local_addr_out,
+ struct PP_NetAddress_Private* remote_addr_out,
struct PP_CompletionCallback callback);
};

Powered by Google App Engine
This is Rietveld 408576698