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

Unified Diff: content/common/frame_messages.h

Issue 2813243002: network service: pass PlzNavigate resulting data via mojo data pipe (Closed)
Patch Set: . Created 3 years, 8 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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 002ae95d94d653cd5f2520a22320eb8cd5368b7b..b8be34e0b6f61d0dacf1a8776a131ef3effbff76 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -907,12 +907,14 @@ IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems,
// PlzNavigate
// Tells the renderer that a navigation is ready to commit. The renderer should
// request |stream_url| to get access to the stream containing the body of the
-// response.
-IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation,
- content::ResourceResponseHead, /* response */
- GURL, /* stream_url */
- content::CommonNavigationParams, /* common_params */
- content::RequestNavigationParams /* request_params */)
+// response. When --enable-network-service is in effect, |stream_url| is not
+// used, and instead the data is passed to the renderer in |handle|.
+IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation,
+ content::ResourceResponseHead, /* response */
+ GURL, /* stream_url */
+ mojo::DataPipeConsumerHandle, /* handle */
+ content::CommonNavigationParams, /* common_params */
+ content::RequestNavigationParams /* request_params */)
// PlzNavigate
// Tells the renderer that a navigation failed with the error code |error_code|

Powered by Google App Engine
This is Rietveld 408576698