diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 22:19:46 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-04 22:19:46 +0000 |
commit | 889636c1b0df6feb74cab6e23aa6ba1c7e65546a (patch) | |
tree | 301fec1f14656c1ebbb0b38ebbcc39fdb47cff18 /content/browser/ppapi_plugin_process_host.h | |
parent | 90b3ee177b6f4dabf5f10ca10be123da2222ea9d (diff) | |
download | chromium_src-889636c1b0df6feb74cab6e23aa6ba1c7e65546a.zip chromium_src-889636c1b0df6feb74cab6e23aa6ba1c7e65546a.tar.gz chromium_src-889636c1b0df6feb74cab6e23aa6ba1c7e65546a.tar.bz2 |
Open pepper files directly in browser.
This CL merges in the changes for the per-profile plugin process from the
previously retired CL.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140093
Review URL: https://chromiumcodereview.appspot.com/10387195
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140399 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/ppapi_plugin_process_host.h')
-rw-r--r-- | content/browser/ppapi_plugin_process_host.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h index 71314b1..f5954f5 100644 --- a/content/browser/ppapi_plugin_process_host.h +++ b/content/browser/ppapi_plugin_process_host.h @@ -6,12 +6,14 @@ #define CONTENT_BROWSER_PPAPI_PLUGIN_PROCESS_HOST_H_ #pragma once +#include <string> #include <queue> #include "base/basictypes.h" #include "base/file_path.h" -#include "base/memory/scoped_ptr.h" #include "base/memory/ref_counted.h" +#include "base/memory/scoped_ptr.h" +#include "content/browser/renderer_host/pepper_file_message_filter.h" #include "content/browser/renderer_host/pepper_message_filter.h" #include "content/public/browser/browser_child_process_host_delegate.h" #include "content/public/browser/browser_child_process_host_iterator.h" @@ -79,7 +81,8 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate, const FilePath& plugin_path() const { return plugin_path_; } const FilePath& profile_data_directory() const { - return profile_data_directory_; } + return profile_data_directory_; + } // The client pointer must remain valid until its callback is issued. @@ -88,7 +91,8 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate, // Constructors for plugin and broker process hosts, respectively. // You must call Init before doing anything else. - PpapiPluginProcessHost(const FilePath& profile_data_directory, + PpapiPluginProcessHost(const std::string& plugin_name, + const FilePath& profile_data_directory, net::HostResolver* host_resolver); PpapiPluginProcessHost(); @@ -112,6 +116,9 @@ class PpapiPluginProcessHost : public content::BrowserChildProcessHostDelegate, // Handles most requests from the plugin. May be NULL. scoped_refptr<PepperMessageFilter> filter_; + // Handles filesystem requests from flash plugins. May be NULL. + scoped_refptr<PepperFileMessageFilter> file_filter_; + // Observes network changes. May be NULL. scoped_ptr<PluginNetworkObserver> network_observer_; |