Index: content/browser/download/download_resource_handler.cc |
diff --git a/content/browser/download/download_resource_handler.cc b/content/browser/download/download_resource_handler.cc |
index 05d22a8ee73cfe46f093aa7503646ed3a2bb6f98..c2d73939a4031eca04d581dbdd06c93c4eafbcc4 100644 |
--- a/content/browser/download/download_resource_handler.cc |
+++ b/content/browser/download/download_resource_handler.cc |
@@ -129,6 +129,15 @@ DownloadResourceHandler::~DownloadResourceHandler() { |
} |
} |
+// static |
+std::unique_ptr<ResourceHandler> DownloadResourceHandler::Create( |
+ net::URLRequest* request) { |
+ DCHECK_CURRENTLY_ON(BrowserThread::IO); |
+ std::unique_ptr<ResourceHandler> handler( |
+ new DownloadResourceHandler(request)); |
+ return handler; |
+} |
+ |
bool DownloadResourceHandler::OnRequestRedirected( |
const net::RedirectInfo& redirect_info, |
ResourceResponse* response, |