diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 00:03:44 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 00:03:44 +0000 |
commit | de9c2085ba61d079f9266c70fb11837a3f54416d (patch) | |
tree | 30d98cc46b1b60818f64244c0a90f39e2908726d /content/browser/ppapi_plugin_process_host.cc | |
parent | 7d0d0ed9dac7a7c74a954ecec3c11446121423ec (diff) | |
download | chromium_src-de9c2085ba61d079f9266c70fb11837a3f54416d.zip chromium_src-de9c2085ba61d079f9266c70fb11837a3f54416d.tar.gz chromium_src-de9c2085ba61d079f9266c70fb11837a3f54416d.tar.bz2 |
Simplify PPB_NetworkMonitor proxy.
The new proxy is based on ppapi::proxy::PluginResource and
ppapi::host::ResourceHost which simplifies code significantly. Also
the permission check is consistent with socket APIs now.
BUG=281781
Review URL: https://chromiumcodereview.appspot.com/23819033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223482 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.cc')
-rw-r--r-- | content/browser/ppapi_plugin_process_host.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/ppapi_plugin_process_host.cc b/content/browser/ppapi_plugin_process_host.cc index 3183a84..ecbbfd6 100644 --- a/content/browser/ppapi_plugin_process_host.cc +++ b/content/browser/ppapi_plugin_process_host.cc @@ -217,7 +217,7 @@ PpapiPluginProcessHost::PpapiPluginProcessHost( info.path, profile_data_directory, false)); - filter_ = new PepperMessageFilter(permissions_); + filter_ = new PepperMessageFilter(); process_->GetHost()->AddFilter(filter_.get()); process_->GetHost()->AddFilter(host_impl_->message_filter().get()); |