| Index: content/browser/renderer_host/resource_dispatcher_host.cc
|
| diff --git a/content/browser/renderer_host/resource_dispatcher_host.cc b/content/browser/renderer_host/resource_dispatcher_host.cc
|
| index 89440cb97d02bba02fbc0cf07a6524fd70307f83..4603690627238e34d8a729776c008236f72f26c4 100644
|
| --- a/content/browser/renderer_host/resource_dispatcher_host.cc
|
| +++ b/content/browser/renderer_host/resource_dispatcher_host.cc
|
| @@ -393,12 +393,6 @@ void ResourceDispatcherHost::BeginRequest(
|
| return;
|
| }
|
|
|
| - // Ensure the Chrome plugins are loaded, as they may intercept network
|
| - // requests. Does nothing if they are already loaded.
|
| - // TODO(mpcomplete): This takes 200 ms! Investigate parallelizing this by
|
| - // starting the load earlier in a BG thread.
|
| - PluginService::GetInstance()->LoadChromePlugins(this);
|
| -
|
| // Construct the event handler.
|
| scoped_refptr<ResourceHandler> handler;
|
| if (sync_result) {
|
| @@ -703,9 +697,6 @@ void ResourceDispatcherHost::BeginDownload(
|
| NewRunnableFunction(&download_util::NotifyDownloadInitiated,
|
| child_id, route_id));
|
|
|
| - // Ensure the Chrome plugins are loaded, as they may intercept network
|
| - // requests. Does nothing if they are already loaded.
|
| - PluginService::GetInstance()->LoadChromePlugins(this);
|
| net::URLRequest* request = new net::URLRequest(url, this);
|
|
|
| request_id_--;
|
| @@ -756,10 +747,6 @@ void ResourceDispatcherHost::BeginSaveFile(
|
| if (is_shutdown_)
|
| return;
|
|
|
| - // Ensure the Chrome plugins are loaded, as they may intercept network
|
| - // requests. Does nothing if they are already loaded.
|
| - PluginService::GetInstance()->LoadChromePlugins(this);
|
| -
|
| scoped_refptr<ResourceHandler> handler(
|
| new SaveFileResourceHandler(child_id,
|
| route_id,
|
|
|