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

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

Issue 2906543002: Add support for reading blobs when using the network service. (Closed)
Patch Set: fix threading issue with weakptr Created 3 years, 6 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/browser/loader/test_url_loader_client.h
diff --git a/content/browser/loader/test_url_loader_client.h b/content/browser/loader/test_url_loader_client.h
index ba50bc794e6f21e390697b2584c5f78d7c6d356b..3bec4ded060bd83bad1e97731e42130eedaa857c 100644
--- a/content/browser/loader/test_url_loader_client.h
+++ b/content/browser/loader/test_url_loader_client.h
@@ -61,6 +61,9 @@ class TestURLLoaderClient final : public mojom::URLLoaderClient {
return cached_metadata_;
}
mojo::DataPipeConsumerHandle response_body() { return response_body_.get(); }
+ mojo::ScopedDataPipeConsumerHandle response_body_release() {
+ return std::move(response_body_);
+ }
const ResourceRequestCompletionStatus& completion_status() const {
return completion_status_;
}
« no previous file with comments | « content/browser/loader/navigation_url_loader_network_service.cc ('k') | content/browser/storage_partition_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698