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

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

Issue 2503813002: Fix and refactor downloaded file handling in the loading stack (Closed)
Patch Set: -Release Created 4 years, 1 month 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/test_url_loader_client.cc
diff --git a/content/browser/loader/test_url_loader_client.cc b/content/browser/loader/test_url_loader_client.cc
index 1a19ce9170f65379d5f95feb3953652821bd4744..d0cb4a88084ec1103b3e8143c94b9199a2774ef1 100644
--- a/content/browser/loader/test_url_loader_client.cc
+++ b/content/browser/loader/test_url_loader_client.cc
@@ -13,7 +13,8 @@ TestURLLoaderClient::TestURLLoaderClient() : binding_(this) {}
TestURLLoaderClient::~TestURLLoaderClient() {}
void TestURLLoaderClient::OnReceiveResponse(
- const ResourceResponseHead& response_head) {
+ const ResourceResponseHead& response_head,
+ mojom::DownloadedTempFilePtr downloaded_file) {
has_received_response_ = true;
response_head_ = response_head;
if (quit_closure_for_on_received_response_)

Powered by Google App Engine
This is Rietveld 408576698