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

Unified Diff: content/browser/plugin_service_impl.h

Issue 10387195: Open pepper files directly in browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/plugin_service_impl.h
===================================================================
--- content/browser/plugin_service_impl.h (revision 138610)
+++ content/browser/plugin_service_impl.h (working copy)
@@ -128,6 +128,7 @@
const FilePath& plugin_path);
PpapiPluginProcessHost* FindOrStartPpapiPluginProcess(
const FilePath& plugin_path,
+ const FilePath& profile_data_directory_path,
PpapiPluginProcessHost::PluginClient* client);
PpapiPluginProcessHost* FindOrStartPpapiBrokerProcess(
const FilePath& plugin_path);
@@ -141,7 +142,8 @@
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& data_directory_path,
PpapiPluginProcessHost::PluginClient* client);
void OpenChannelToPpapiBroker(const FilePath& path,
PpapiPluginProcessHost::BrokerClient* client);
@@ -173,7 +175,9 @@
// 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& data_directory_path);
PpapiPluginProcessHost* FindPpapiBrokerProcess(const FilePath& broker_path);
void RegisterPepperPlugins();
« no previous file with comments | « no previous file | content/browser/plugin_service_impl.cc » ('j') | content/browser/renderer_host/pepper_file_message_filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698