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

Unified Diff: content/child/web_url_loader_impl_unittest.cc

Issue 1693563002: PROTOTYPE: PlzNavigate: use a Mojo data pipe to stream navigation data to the renderer. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Browser sends URLRequest id to the renderer and renderer uses intermediary buffer for data: none he… Created 4 years, 9 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/web_url_loader_impl.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl_unittest.cc
diff --git a/content/child/web_url_loader_impl_unittest.cc b/content/child/web_url_loader_impl_unittest.cc
index a85dd049118521032fd0490e46ddc52aeab8b072..55fd3da1b7b9ea1a7cbd3bfccec3066b1f8a8b77 100644
--- a/content/child/web_url_loader_impl_unittest.cc
+++ b/content/child/web_url_loader_impl_unittest.cc
@@ -64,10 +64,13 @@ class TestResourceDispatcher : public ResourceDispatcher {
// TestDispatcher implementation:
- int StartAsync(const RequestInfo& request_info,
- ResourceRequestBody* request_body,
- scoped_ptr<RequestPeer> peer) override {
+ int StartAsync(
+ const RequestInfo& request_info,
+ ResourceRequestBody* request_body,
+ scoped_ptr<RequestPeer> peer,
+ mojo::ScopedDataPipeConsumerHandle mojo_data_pipe_handle) override {
EXPECT_FALSE(peer_);
+ EXPECT_FALSE(mojo_data_pipe_handle.is_valid());
peer_ = std::move(peer);
url_ = request_info.url;
stream_url_ = request_info.resource_body_stream_url;
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698