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

Unified Diff: content/browser/plugin_process_host.h

Issue 7477044: Use PluginPrefs in ChromePluginServiceFilter to check whether a plugin is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 4 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 | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/plugin_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_process_host.h
diff --git a/content/browser/plugin_process_host.h b/content/browser/plugin_process_host.h
index e3378872cb4cebaec3ccbb6d5c9c8f6b3ae1a0c3..8ae492917a3b2bb2968e11f0e02ab392a6635051 100644
--- a/content/browser/plugin_process_host.h
+++ b/content/browser/plugin_process_host.h
@@ -19,6 +19,10 @@
#include "webkit/plugins/npapi/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::npapi::WebPluginInfo& info) = 0;
// The client should delete itself when one of these methods is called.
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | content/browser/plugin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698