| Index: chrome/browser/renderer_host/download_throttling_resource_handler.cc
|
| ===================================================================
|
| --- chrome/browser/renderer_host/download_throttling_resource_handler.cc (revision 74962)
|
| +++ chrome/browser/renderer_host/download_throttling_resource_handler.cc (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/renderer_host/download_throttling_resource_handler.h"
|
|
|
| #include "base/logging.h"
|
| +#include "chrome/browser/download/download_util.h"
|
| #include "chrome/browser/renderer_host/download_resource_handler.h"
|
| #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
|
| #include "chrome/common/resource_response.h"
|
| @@ -31,8 +32,13 @@
|
| host_->PauseRequest(render_process_host_id_, request_id_, true);
|
| host_->download_request_limiter()->CanDownloadOnIOThread(
|
| render_process_host_id_, render_view_id, this);
|
| - }
|
|
|
| + BrowserThread::PostTask(
|
| + BrowserThread::UI, FROM_HERE,
|
| + NewRunnableFunction(&download_util::NotifyDownloadInitiated,
|
| + render_process_host_id_, render_view_id_));
|
| +}
|
| +
|
| DownloadThrottlingResourceHandler::~DownloadThrottlingResourceHandler() {
|
| }
|
|
|
|
|