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

Unified Diff: content/renderer/pepper_plugin_delegate_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: content/renderer/pepper_plugin_delegate_impl.cc
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
index 56aa7b943deedb60c7ab35d4b1082ea71050ee0d..fed80633f4ca3e379a2721ce9f2f4019c9c4ad39 100644
--- a/content/renderer/pepper_plugin_delegate_impl.cc
+++ b/content/renderer/pepper_plugin_delegate_impl.cc
@@ -1458,7 +1458,7 @@ int32_t PepperPluginDelegateImpl::ConnectTcp(
int32_t PepperPluginDelegateImpl::ConnectTcpAddress(
webkit::ppapi::PPB_Flash_NetConnector_Impl* connector,
- const struct PP_Flash_NetAddress* addr) {
+ const struct PP_NetAddress_Private* addr) {
int request_id = pending_connect_tcps_.Add(
new scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>(connector));
IPC::Message* msg =
@@ -1476,8 +1476,8 @@ int32_t PepperPluginDelegateImpl::ConnectTcpAddress(
void PepperPluginDelegateImpl::OnConnectTcpACK(
int request_id,
base::PlatformFile 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) {
scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl> connector =
*pending_connect_tcps_.Lookup(request_id);
pending_connect_tcps_.Remove(request_id);

Powered by Google App Engine
This is Rietveld 408576698