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

Unified Diff: content/child/url_loader_client_impl.cc

Issue 2561743003: Use associated interface on DownloadedTempFile (Closed)
Patch Set: typo fix 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
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 04aee613ace7c63b19db4b3b8c5f995f9cf9ba30..8ee468249df6e70166ec504ee9979de928300123 100644
--- a/content/child/url_loader_client_impl.cc
+++ b/content/child/url_loader_client_impl.cc
@@ -112,11 +112,11 @@ void URLLoaderClientImpl::FlushDeferredMessages() {
void URLLoaderClientImpl::OnReceiveResponse(
const ResourceResponseHead& response_head,
- mojom::DownloadedTempFilePtr downloaded_file) {
+ mojom::DownloadedTempFileAssociatedPtrInfo downloaded_file) {
has_received_response_ = true;
if (body_consumer_)
body_consumer_->Start();
- downloaded_file_ = std::move(downloaded_file);
+ downloaded_file_.Bind(std::move(downloaded_file));
Dispatch(ResourceMsg_ReceivedResponse(request_id_, response_head));
}

Powered by Google App Engine
This is Rietveld 408576698