summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_process_host.h
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 12:49:54 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-02 12:49:54 +0000
commitdfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e (patch)
treed2cabf655ef897af93e6e3a06ed0a11a8af2a0f1 /content/browser/plugin_process_host.h
parent34a50fd92a10f1f0b50d2b73edb228935ff824c8 (diff)
downloadchromium_src-dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e.zip
chromium_src-dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e.tar.gz
chromium_src-dfba8766fbe2b0d0ac7e538f18aaf6b92aa68c1e.tar.bz2
Add PluginServiceFilter interface and ChromePluginServiceFilter.
This should get rid of all references to webkit::npapi::IsPluginEnabled in content/. BUG=80794 TEST=none Review URL: http://codereview.chromium.org/7387010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.h')
-rw-r--r--content/browser/plugin_process_host.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/content/browser/plugin_process_host.h b/content/browser/plugin_process_host.h
index 7fdba4d..3c5f116 100644
--- a/content/browser/plugin_process_host.h
+++ b/content/browser/plugin_process_host.h
@@ -19,6 +19,10 @@
#include "webkit/plugins/webplugininfo.h"
#include "ui/gfx/native_widget_types.h"
+namespace content {
+class ResourceContext;
+}
+
namespace gfx {
class Rect;
}
@@ -41,9 +45,11 @@ class PluginProcessHost : public BrowserChildProcessHost {
public:
class Client {
public:
- // Returns a opaque unique identifier for the process requesting
+ // Returns an opaque unique identifier for the process requesting
// the channel.
virtual int ID() = 0;
+ // Returns the resource context for the renderer requesting the channel.
+ virtual const content::ResourceContext& GetResourceContext() = 0;
virtual bool OffTheRecord() = 0;
virtual void SetPluginInfo(const webkit::WebPluginInfo& info) = 0;
// The client should delete itself when one of these methods is called.