diff options
Diffstat (limited to 'chrome/browser/plugin_process_host.cc')
-rw-r--r-- | chrome/browser/plugin_process_host.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc index ce10aa0..eef30ad 100644 --- a/chrome/browser/plugin_process_host.cc +++ b/chrome/browser/plugin_process_host.cc @@ -319,6 +319,10 @@ void PluginProcessHost::OnChannelError() { CancelRequests(); } +bool PluginProcessHost::CanShutdown() { + return sent_requests_.empty(); +} + void PluginProcessHost::CancelRequests() { for (size_t i = 0; i < pending_requests_.size(); ++i) pending_requests_[i]->OnError(); |