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

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: 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/test/test_navigation_url_loader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0a96822795e8008ab8789d21a540ae2a074838d0 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);
}
« no previous file with comments | « 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