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

Unified Diff: chrome/renderer/pepper_plugin_delegate_impl.cc

Issue 6388004: Move non-file-system Pepper IPC messages to chrome/common/pepper_messages.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/renderer
Patch Set: Fix size_t-size-correctness. Created 9 years, 11 months 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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper_plugin_delegate_impl.cc
diff --git a/chrome/renderer/pepper_plugin_delegate_impl.cc b/chrome/renderer/pepper_plugin_delegate_impl.cc
index 87b991491558109b99605cb590da4abce85b2616..e6d7124fe863ca16fce21643723ee08869236586 100644
--- a/chrome/renderer/pepper_plugin_delegate_impl.cc
+++ b/chrome/renderer/pepper_plugin_delegate_impl.cc
@@ -18,6 +18,7 @@
#include "chrome/common/child_thread.h"
#include "chrome/common/file_system/file_system_dispatcher.h"
#include "chrome/common/pepper_file_messages.h"
+#include "chrome/common/pepper_messages.h"
#include "chrome/common/pepper_plugin_registry.h"
#include "chrome/common/render_messages.h"
#include "chrome/common/render_messages_params.h"
@@ -49,7 +50,6 @@
#include "webkit/plugins/ppapi/ppb_flash_impl.h"
#if defined(OS_MACOSX)
-#include "chrome/common/render_messages.h"
#include "chrome/renderer/render_thread.h"
#endif
@@ -814,10 +814,10 @@ int32_t PepperPluginDelegateImpl::ConnectTcp(
int request_id = pending_connect_tcps_.Add(
new scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>(connector));
IPC::Message* msg =
- new ViewHostMsg_PepperConnectTcp(render_view_->routing_id(),
- request_id,
- std::string(host),
- port);
+ new PepperMsg_ConnectTcp(render_view_->routing_id(),
+ request_id,
+ std::string(host),
+ port);
if (!render_view_->Send(msg))
return PP_ERROR_FAILED;
@@ -830,9 +830,9 @@ int32_t PepperPluginDelegateImpl::ConnectTcpAddress(
int request_id = pending_connect_tcps_.Add(
new scoped_refptr<webkit::ppapi::PPB_Flash_NetConnector_Impl>(connector));
IPC::Message* msg =
- new ViewHostMsg_PepperConnectTcpAddress(render_view_->routing_id(),
- request_id,
- *addr);
+ new PepperMsg_ConnectTcpAddress(render_view_->routing_id(),
+ request_id,
+ *addr);
if (!render_view_->Send(msg))
return PP_ERROR_FAILED;
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698