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

Unified Diff: content/browser/plugin_service_impl.h

Issue 12315023: Merge 180159 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 10 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 | « content/browser/plugin_data_remover_impl.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_service_impl.h
===================================================================
--- content/browser/plugin_service_impl.h (revision 183671)
+++ content/browser/plugin_service_impl.h (working copy)
@@ -120,13 +120,14 @@
// 'plugin_path' if needed. If the process fails to start, the return value
// is NULL. Must be called on the IO thread.
PluginProcessHost* FindOrStartNpapiPluginProcess(
- const FilePath& plugin_path);
+ int render_process_id, const FilePath& plugin_path);
PpapiPluginProcessHost* FindOrStartPpapiPluginProcess(
+ int render_process_id,
const FilePath& plugin_path,
const FilePath& profile_data_directory,
PpapiPluginProcessHost::PluginClient* client);
PpapiPluginProcessHost* FindOrStartPpapiBrokerProcess(
- const FilePath& plugin_path);
+ int render_process_id, const FilePath& plugin_path);
// Opens a channel to a plugin process for the given mime type, starting
// a new plugin process if necessary. This must be called on the IO thread
@@ -137,10 +138,12 @@
const GURL& page_url,
const std::string& mime_type,
PluginProcessHost::Client* client);
- void OpenChannelToPpapiPlugin(const FilePath& plugin_path,
+ void OpenChannelToPpapiPlugin(int render_process_id,
+ const FilePath& plugin_path,
const FilePath& profile_data_directory,
PpapiPluginProcessHost::PluginClient* client);
- void OpenChannelToPpapiBroker(const FilePath& path,
+ void OpenChannelToPpapiBroker(int render_process_id,
+ const FilePath& path,
PpapiPluginProcessHost::BrokerClient* client);
// Cancels opening a channel to a NPAPI plugin.
@@ -198,9 +201,9 @@
// Helper so we can finish opening the channel after looking up the
// plugin.
- void FinishOpenChannelToPlugin(
- const FilePath& plugin_path,
- PluginProcessHost::Client* client);
+ void FinishOpenChannelToPlugin(int render_process_id,
+ const FilePath& plugin_path,
+ PluginProcessHost::Client* client);
#if defined(OS_POSIX) && !defined(OS_OPENBSD) && !defined(OS_ANDROID)
// Registers a new FilePathWatcher for a given path.
« no previous file with comments | « content/browser/plugin_data_remover_impl.cc ('k') | content/browser/plugin_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698