Index: content/common/frame_messages.h |
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h |
index 002ae95d94d653cd5f2520a22320eb8cd5368b7b..443f9697d4c8117ecae047b072dc7ceebe1613d9 100644 |
--- a/content/common/frame_messages.h |
+++ b/content/common/frame_messages.h |
@@ -909,10 +909,17 @@ IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, |
// 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 */) |
+ content::ResourceResponseHead, /* response */ |
+ GURL, /* stream_url */ |
+ content::CommonNavigationParams, /* common_params */ |
+ content::RequestNavigationParams /* request_params */) |
+ |
+// Same as FrameMsg_CommitNavigation, but used when --enable-network-service. |
jam
2017/04/12 18:13:45
why not just one IPC with both parameters?
scottmg
2017/04/12 18:42:41
Sure, that's probably better to match the rest.
scottmg
2017/04/12 20:37:11
Done.
|
+IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigationNetworkService, |
+ content::ResourceResponseHead, /* response */ |
+ 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| |