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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 #else 900 #else
901 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems, 901 IPC_MESSAGE_ROUTED2(FrameMsg_SelectPopupMenuItems,
902 bool /* user canceled the popup */, 902 bool /* user canceled the popup */,
903 std::vector<int> /* selected indices */) 903 std::vector<int> /* selected indices */)
904 #endif 904 #endif
905 #endif 905 #endif
906 906
907 // PlzNavigate 907 // PlzNavigate
908 // Tells the renderer that a navigation is ready to commit. The renderer should 908 // Tells the renderer that a navigation is ready to commit. The renderer should
909 // request |stream_url| to get access to the stream containing the body of the 909 // request |stream_url| to get access to the stream containing the body of the
910 // response. 910 // response. When --enable-network-service is in effect, |stream_url| is not
911 IPC_MESSAGE_ROUTED4(FrameMsg_CommitNavigation, 911 // used, and instead the data is passed to the renderer in |handle|.
912 content::ResourceResponseHead, /* response */ 912 IPC_MESSAGE_ROUTED5(FrameMsg_CommitNavigation,
913 GURL, /* stream_url */ 913 content::ResourceResponseHead, /* response */
914 content::CommonNavigationParams, /* common_params */ 914 GURL, /* stream_url */
915 content::RequestNavigationParams /* request_params */) 915 mojo::DataPipeConsumerHandle, /* handle */
916 content::CommonNavigationParams, /* common_params */
917 content::RequestNavigationParams /* request_params */)
916 918
917 // PlzNavigate 919 // PlzNavigate
918 // Tells the renderer that a navigation failed with the error code |error_code| 920 // Tells the renderer that a navigation failed with the error code |error_code|
919 // and that the renderer should display an appropriate error page. 921 // and that the renderer should display an appropriate error page.
920 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation, 922 IPC_MESSAGE_ROUTED4(FrameMsg_FailedNavigation,
921 content::CommonNavigationParams, /* common_params */ 923 content::CommonNavigationParams, /* common_params */
922 content::RequestNavigationParams, /* request_params */ 924 content::RequestNavigationParams, /* request_params */
923 bool, /* stale_copy_in_cache */ 925 bool, /* stale_copy_in_cache */
924 int /* error_code */) 926 int /* error_code */)
925 927
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 int /* nfr_request_id */, 1649 int /* nfr_request_id */,
1648 float /* distance */) 1650 float /* distance */)
1649 1651
1650 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1652 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1651 #endif 1653 #endif
1652 1654
1653 // Adding a new message? Stick to the sort order above: first platform 1655 // Adding a new message? Stick to the sort order above: first platform
1654 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1656 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1655 // platform independent FrameHostMsg, then ifdefs for platform specific 1657 // platform independent FrameHostMsg, then ifdefs for platform specific
1656 // FrameHostMsg. 1658 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698