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

Unified Diff: content/browser/ppapi_plugin_process_host.cc

Issue 11441012: PPB_UDPSocket_Private is switched to the new Pepper proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 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
Index: content/browser/ppapi_plugin_process_host.cc
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc
index bb4449c46f83ab27c680239f7fde4550afce58d5..0947a0eb2f2f86f4d8a90602f2b9554c71e93884 100644
--- a/content/browser/ppapi_plugin_process_host.cc
+++ b/content/browser/ppapi_plugin_process_host.cc
@@ -165,12 +165,13 @@ PpapiPluginProcessHost::PpapiPluginProcessHost(
process_.reset(new BrowserChildProcessHostImpl(
PROCESS_TYPE_PPAPI_PLUGIN, this));
- filter_ = new PepperMessageFilter(PepperMessageFilter::PLUGIN,
+ filter_ = new PepperMessageFilter(process_->GetData().type,
permissions_,
host_resolver);
host_impl_.reset(new BrowserPpapiHostImpl(this, permissions_, info.name,
- profile_data_directory));
+ profile_data_directory,
+ process_->GetData().type));
process_->GetHost()->AddFilter(filter_.get());
process_->GetHost()->AddFilter(host_impl_->message_filter());
@@ -193,7 +194,8 @@ PpapiPluginProcessHost::PpapiPluginProcessHost()
std::string plugin_name;
FilePath profile_data_directory;
host_impl_.reset(new BrowserPpapiHostImpl(this, permissions, plugin_name,
- profile_data_directory));
+ profile_data_directory,
+ process_->GetData().type));
}
bool PpapiPluginProcessHost::Init(const PepperPluginInfo& info) {
« no previous file with comments | « chrome/test/ppapi/ppapi_browsertest.cc ('k') | content/browser/renderer_host/pepper/browser_ppapi_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698