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

Unified Diff: content/test/test_render_frame.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: Created 4 years, 10 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/test/test_render_frame.cc
diff --git a/content/test/test_render_frame.cc b/content/test/test_render_frame.cc
index f63a0c84a5abe187a73448da36f51f696c67a7e2..b0bd4317d04fae43b6083652f8affb3f61975188 100644
--- a/content/test/test_render_frame.cc
+++ b/content/test/test_render_frame.cc
@@ -28,8 +28,11 @@ void TestRenderFrame::Navigate(const CommonNavigationParams& common_params,
const RequestNavigationParams& request_params) {
// PlzNavigate
if (IsBrowserSideNavigationEnabled()) {
+ const int32_t fixed_commit_id = 987654321;
OnCommitNavigation(ResourceResponseHead(), GURL(), common_params,
- request_params);
+ request_params, fixed_commit_id);
+ ReceiveNavigationDataPipeConsumerHandle(
+ mojo::ScopedDataPipeConsumerHandle(), fixed_commit_id);
} else {
OnNavigate(common_params, start_params, request_params);
}
« content/browser/loader/mojo_stream_writer.cc ('K') | « content/test/test_navigation_url_loader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698