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

Unified Diff: content/child/url_loader_client_impl.cc

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: +NOTREACHED on non frame trasfer Created 3 years, 11 months 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
« no previous file with comments | « content/child/url_loader_client_impl.h ('k') | content/common/url_loader.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/url_loader_client_impl.cc
diff --git a/content/child/url_loader_client_impl.cc b/content/child/url_loader_client_impl.cc
index 96192c4acd8661a21abb9fc79b3038e58c253b3b..f64ff5ea49cee4cf09d411443686b2e1c487318d 100644
--- a/content/child/url_loader_client_impl.cc
+++ b/content/child/url_loader_client_impl.cc
@@ -112,9 +112,9 @@ void URLLoaderClientImpl::FlushDeferredMessages() {
void URLLoaderClientImpl::OnReceiveResponse(
const ResourceResponseHead& response_head,
- mojom::DownloadedTempFilePtr downloaded_file) {
+ mojom::DownloadedTempFileAssociatedPtrInfo downloaded_file) {
has_received_response_ = true;
- downloaded_file_ = std::move(downloaded_file);
+ downloaded_file_.Bind(std::move(downloaded_file));
Dispatch(ResourceMsg_ReceivedResponse(request_id_, response_head));
}
« no previous file with comments | « content/child/url_loader_client_impl.h ('k') | content/common/url_loader.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698