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-12 11:00:21 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 11:00:21 +0000
commit1a5acea8faf7ad8af233f97a43920df0dea901f4 (patch)
tree4d2ac1317836f881e8d234b66a6739dd197a7ee3 /content/browser/plugin_process_host.h
parent25395f24a4adb701c1052f773704fdf5cfe00d2b (diff)
downloadchromium_src-1a5acea8faf7ad8af233f97a43920df0dea901f4.zip
chromium_src-1a5acea8faf7ad8af233f97a43920df0dea901f4.tar.gz
chromium_src-1a5acea8faf7ad8af233f97a43920df0dea901f4.tar.bz2
Cancel pending plugin channel requests before destroying the ResourceContext.
BUG=94704 TEST=none Review URL: http://codereview.chromium.org/7810021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/plugin_process_host.h')
-rw-r--r--content/browser/plugin_process_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/plugin_process_host.h b/content/browser/plugin_process_host.h
index 3c5f116..fcec36c 100644
--- a/content/browser/plugin_process_host.h
+++ b/content/browser/plugin_process_host.h
@@ -79,6 +79,10 @@ class PluginProcessHost : public BrowserChildProcessHost {
// OnChannelOpened in the client is called.
void OpenChannelToPlugin(Client* client);
+ // Cancels all pending channel requests for the given resource context.
+ static void CancelPendingRequestsForResourceContext(
+ const content::ResourceContext* context);
+
// This function is called on the IO thread once we receive a reply from the
// modal HTML dialog (in the form of a JSON string). This function forwards
// that reply back to the plugin that requested the dialog.