summaryrefslogtreecommitdiffstats
path: root/content/browser/plugin_process_host.h
diff options
context:
space:
mode:
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.