| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index 86624eb5bbf6a85122a4850e98c9ef411ae6705c..a5b9f78d4cad69ad001455f2a122e0fa089dcd73 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -2103,6 +2103,16 @@ void RenderProcessHostImpl::UnregisterHost(int host_id) {
|
| }
|
|
|
| // static
|
| +bool RenderProcessHostImpl::HasAnyConnection() {
|
| + iterator iter(AllHostsIterator());
|
| + while (!iter.IsAtEnd()) {
|
| + if (iter.GetCurrentValue()->HasConnection())
|
| + return true;
|
| + }
|
| + return false;
|
| +}
|
| +
|
| +// static
|
| void RenderProcessHostImpl::FilterURL(RenderProcessHost* rph,
|
| bool empty_allowed,
|
| GURL* url) {
|
|
|