Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1475)

Unified Diff: content/browser/loader/mojo_async_resource_handler.cc

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: update LayoutTest/TestExpectations Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/loader/mojo_async_resource_handler.cc
diff --git a/content/browser/loader/mojo_async_resource_handler.cc b/content/browser/loader/mojo_async_resource_handler.cc
index ea94fad16e296ce6330dcb4afeebdb518dd900e2..4b9cb4620f6129203f13c3923a4d174bfb9331e1 100644
--- a/content/browser/loader/mojo_async_resource_handler.cc
+++ b/content/browser/loader/mojo_async_resource_handler.cc
@@ -169,10 +169,10 @@ bool MojoAsyncResourceHandler::OnResponseStarted(ResourceResponse* response,
response->head.response_start = base::TimeTicks::Now();
sent_received_response_message_ = true;
- mojom::DownloadedTempFilePtr downloaded_file_ptr;
+ mojom::DownloadedTempFileAssociatedPtrInfo downloaded_file_ptr;
if (!response->head.download_file_path.empty()) {
- downloaded_file_ptr = DownloadedTempFileImpl::Create(info->GetChildID(),
- info->GetRequestID());
+ downloaded_file_ptr = DownloadedTempFileImpl::Create(
+ binding_.associated_group(), info->GetChildID(), info->GetRequestID());
rdh_->RegisterDownloadedTempFile(info->GetChildID(), info->GetRequestID(),
response->head.download_file_path);
}

Powered by Google App Engine
This is Rietveld 408576698