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

Unified Diff: webkit/plugins/ppapi/ppb_flash_net_connector_impl.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: webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc b/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
index 1adbf4802a7d925e3aef3ceaea04d41ac55dee2d..139995927746a32f2a914addffe43b82e54df29b 100644
--- a/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_net_connector_impl.cc
@@ -36,8 +36,8 @@ int32_t PPB_Flash_NetConnector_Impl::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,
PP_CompletionCallback callback) {
// |socket_out| is not optional.
if (!socket_out)
@@ -69,10 +69,10 @@ int32_t PPB_Flash_NetConnector_Impl::ConnectTcp(
}
int32_t PPB_Flash_NetConnector_Impl::ConnectTcpAddress(
- const PP_Flash_NetAddress* addr,
+ 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,
PP_CompletionCallback callback) {
// |socket_out| is not optional.
if (!socket_out)
@@ -105,8 +105,8 @@ int32_t PPB_Flash_NetConnector_Impl::ConnectTcpAddress(
void PPB_Flash_NetConnector_Impl::CompleteConnectTcp(
PP_FileHandle socket,
- const PP_Flash_NetAddress& local_addr,
- const PP_Flash_NetAddress& remote_addr) {
+ const PP_NetAddress_Private& local_addr,
+ const PP_NetAddress_Private& remote_addr) {
int32_t rv = PP_ERROR_ABORTED;
if (!callback_->aborted()) {
CHECK(!callback_->completed());
« ppapi/thunk/interfaces_ppb_private.h ('K') | « webkit/plugins/ppapi/ppb_flash_net_connector_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698