diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-31 20:11:31 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-31 20:11:31 +0000 |
commit | dd9a0958e0d3e43f156b83d5e0feed841312e2a9 (patch) | |
tree | 76da18db75d06d948b8a54d900ee63fc196114c5 /content/browser/plugin_service_impl.h | |
parent | 5ddb63596ea03f2932644f4dec9dbc835b8ca2b8 (diff) | |
download | chromium_src-dd9a0958e0d3e43f156b83d5e0feed841312e2a9.zip chromium_src-dd9a0958e0d3e43f156b83d5e0feed841312e2a9.tar.gz chromium_src-dd9a0958e0d3e43f156b83d5e0feed841312e2a9.tar.bz2 |
Run a ppapi process per (profile, plugin) pair.
This prevents sharing a ppapi process across profiles. This is a good idea for the same reasons that we don't share renderers across profiles. This is also a prerequisite for fixing the associated bug.
BUG=127624
Review URL: https://chromiumcodereview.appspot.com/10383202
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139848 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_service_impl.h')
-rw-r--r-- | content/browser/plugin_service_impl.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/content/browser/plugin_service_impl.h b/content/browser/plugin_service_impl.h index b3fcbf9..fed0c76 100644 --- a/content/browser/plugin_service_impl.h +++ b/content/browser/plugin_service_impl.h @@ -128,6 +128,7 @@ class CONTENT_EXPORT PluginServiceImpl const FilePath& plugin_path); PpapiPluginProcessHost* FindOrStartPpapiPluginProcess( const FilePath& plugin_path, + const FilePath& profile_data_directory, PpapiPluginProcessHost::PluginClient* client); PpapiPluginProcessHost* FindOrStartPpapiBrokerProcess( const FilePath& plugin_path); @@ -141,7 +142,8 @@ class CONTENT_EXPORT PluginServiceImpl const GURL& page_url, const std::string& mime_type, PluginProcessHost::Client* client); - void OpenChannelToPpapiPlugin(const FilePath& path, + void OpenChannelToPpapiPlugin(const FilePath& plugin_path, + const FilePath& profile_data_directory, PpapiPluginProcessHost::PluginClient* client); void OpenChannelToPpapiBroker(const FilePath& path, PpapiPluginProcessHost::BrokerClient* client); @@ -173,7 +175,9 @@ class CONTENT_EXPORT PluginServiceImpl // has been started by this service. Returns NULL if no process has been // started. PluginProcessHost* FindNpapiPluginProcess(const FilePath& plugin_path); - PpapiPluginProcessHost* FindPpapiPluginProcess(const FilePath& plugin_path); + PpapiPluginProcessHost* FindPpapiPluginProcess( + const FilePath& plugin_path, + const FilePath& profile_data_directory); PpapiPluginProcessHost* FindPpapiBrokerProcess(const FilePath& broker_path); void RegisterPepperPlugins(); |