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

Unified Diff: ppapi/cpp/private/flash_net_connector.cc

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/cpp/private/flash_net_connector.cc
diff --git a/ppapi/cpp/private/flash_net_connector.cc b/ppapi/cpp/private/flash_net_connector.cc
index 05b26f2fec0a6aa2f734993e90f9f9cd2be578f0..faa6c9b3ad9ce8c5c1bb7b6bc23ba8e2f8202356 100644
--- a/ppapi/cpp/private/flash_net_connector.cc
+++ b/ppapi/cpp/private/flash_net_connector.cc
@@ -34,8 +34,8 @@ NetConnector::NetConnector(const Instance& instance) {
int32_t NetConnector::ConnectTcp(const char* host,
uint16_t port,
PP_FileHandle* socket_out,
- PP_Flash_NetAddress* local_addr_out,
- PP_Flash_NetAddress* remote_addr_out,
+ PP_NetAddress_Private* local_addr_out,
+ PP_NetAddress_Private* remote_addr_out,
const CompletionCallback& cc) {
if (!has_interface<PPB_Flash_NetConnector>())
return cc.MayForce(PP_ERROR_NOINTERFACE);
@@ -46,10 +46,10 @@ int32_t NetConnector::ConnectTcp(const char* host,
cc.pp_completion_callback());
}
-int32_t NetConnector::ConnectTcpAddress(const PP_Flash_NetAddress* addr,
+int32_t NetConnector::ConnectTcpAddress(const PP_NetAddress_Private* addr,
PP_FileHandle* socket_out,
- PP_Flash_NetAddress* local_addr_out,
- PP_Flash_NetAddress* remote_addr_out,
+ PP_NetAddress_Private* local_addr_out,
+ PP_NetAddress_Private* remote_addr_out,
const CompletionCallback& cc) {
if (!has_interface<PPB_Flash_NetConnector>())
return cc.MayForce(PP_ERROR_NOINTERFACE);

Powered by Google App Engine
This is Rietveld 408576698