summaryrefslogtreecommitdiffstats
path: root/content/browser/ppapi_plugin_process_host.h
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 19:05:03 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-07 19:05:03 +0000
commit0c719374f8228f5615005cdd9fa4fc7cbc7554f2 (patch)
treede64ef9fe5e711ba6553935e933d3015adc3fafd /content/browser/ppapi_plugin_process_host.h
parentc24c9e0439b57dc1f6b785255bbac78aaa31fd2d (diff)
downloadchromium_src-0c719374f8228f5615005cdd9fa4fc7cbc7554f2.zip
chromium_src-0c719374f8228f5615005cdd9fa4fc7cbc7554f2.tar.gz
chromium_src-0c719374f8228f5615005cdd9fa4fc7cbc7554f2.tar.bz2
Add support for external out-of-process PPAPI plugins in the browser.
- Modifies content::BrowserPpapiHostImpl so it's not ref-counted. - Adds a public content API method, BrowserPpapiHost::CreateExternalPluginProcess which allows the embedder to associate a browser ppapi host with a plugin process. - Adds a public content API method, ContentBrowserClient::GetExternalBrowserPpapiHost, so content can track instance creation and deletion for external plugins (e.g. NaCl) - Removes the content API method EnablePepperSupportForChannel. This is now done when creating the BrowserPpapiHost. BUG=116317 TEST=none Review URL: https://chromiumcodereview.appspot.com/11368019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166480 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.h')
-rw-r--r--content/browser/ppapi_plugin_process_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h
index e472c11..cbab68c 100644
--- a/content/browser/ppapi_plugin_process_host.h
+++ b/content/browser/ppapi_plugin_process_host.h
@@ -138,7 +138,7 @@ class PpapiPluginProcessHost : public BrowserChildProcessHostDelegate,
scoped_refptr<PepperMessageFilter> filter_;
ppapi::PpapiPermissions permissions_;
- scoped_refptr<BrowserPpapiHostImpl> host_impl_;
+ scoped_ptr<BrowserPpapiHostImpl> host_impl_;
// Handles filesystem requests from flash plugins. May be NULL.
scoped_refptr<PepperFileMessageFilter> file_filter_;