diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 21:03:20 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 21:03:20 +0000 |
commit | df02acac84b909c194541c93eb25a3933b2b60cf (patch) | |
tree | ccd84a66926a2197dd25889141d1bf608f2baa36 /content/browser/plugin_process_host.h | |
parent | 69faf748560f4f9c98b5e81c1bc917a3b7d6e045 (diff) | |
download | chromium_src-df02acac84b909c194541c93eb25a3933b2b60cf.zip chromium_src-df02acac84b909c194541c93eb25a3933b2b60cf.tar.gz chromium_src-df02acac84b909c194541c93eb25a3933b2b60cf.tar.bz2 |
Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't have setters/getters on it, and make all the functions pure virtual).
BUG=98716
Review URL: https://chromiumcodereview.appspot.com/9369009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.h')
-rw-r--r-- | content/browser/plugin_process_host.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/plugin_process_host.h b/content/browser/plugin_process_host.h index d1b1171..af8a224 100644 --- a/content/browser/plugin_process_host.h +++ b/content/browser/plugin_process_host.h @@ -55,7 +55,7 @@ class CONTENT_EXPORT PluginProcessHost // the channel. virtual int ID() = 0; // Returns the resource context for the renderer requesting the channel. - virtual const content::ResourceContext& GetResourceContext() = 0; + virtual content::ResourceContext* GetResourceContext() = 0; virtual bool OffTheRecord() = 0; virtual void SetPluginInfo(const webkit::WebPluginInfo& info) = 0; virtual void OnFoundPluginProcessHost(PluginProcessHost* host) = 0; @@ -92,7 +92,7 @@ class CONTENT_EXPORT PluginProcessHost // Cancels all pending channel requests for the given resource context. static void CancelPendingRequestsForResourceContext( - const content::ResourceContext* context); + content::ResourceContext* context); // This function is called to cancel pending requests to open new channels. void CancelPendingRequest(Client* client); |