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

Side by Side Diff: content/common/frame_messages.h

Issue 2355023002: Preserving Content-Type header from http request in OpenURL path. (Closed)
Patch Set: Filtering headers in PrerenderManager instead. Created 4 years, 2 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 // Specifies properties for a new RenderWidget that will be attached to the 453 // Specifies properties for a new RenderWidget that will be attached to the
454 // new RenderFrame (if one is needed). 454 // new RenderFrame (if one is needed).
455 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params) 455 IPC_STRUCT_MEMBER(FrameMsg_NewFrame_WidgetParams, widget_params)
456 IPC_STRUCT_END() 456 IPC_STRUCT_END()
457 457
458 // Parameters included with an OpenURL request. 458 // Parameters included with an OpenURL request.
459 // |is_history_navigation_in_new_child| is true in the case that the browser 459 // |is_history_navigation_in_new_child| is true in the case that the browser
460 // process should look for an existing history item for the frame. 460 // process should look for an existing history item for the frame.
461 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 461 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
462 IPC_STRUCT_MEMBER(GURL, url) 462 IPC_STRUCT_MEMBER(GURL, url)
463 IPC_STRUCT_MEMBER(std::string, extra_headers)
nasko 2016/10/06 18:15:01 You've put this member after post body in all area
Łukasz Anforowicz 2016/10/06 18:33:54 Good point - I should have kept the order similar
463 IPC_STRUCT_MEMBER(bool, uses_post) 464 IPC_STRUCT_MEMBER(bool, uses_post)
464 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>, 465 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>,
465 resource_request_body) 466 resource_request_body)
466 IPC_STRUCT_MEMBER(content::Referrer, referrer) 467 IPC_STRUCT_MEMBER(content::Referrer, referrer)
467 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 468 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
468 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 469 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
469 IPC_STRUCT_MEMBER(bool, user_gesture) 470 IPC_STRUCT_MEMBER(bool, user_gesture)
470 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child) 471 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child)
471 IPC_STRUCT_END() 472 IPC_STRUCT_END()
472 473
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 // nearest find result in the sending frame. 1570 // nearest find result in the sending frame.
1570 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1571 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1571 int /* nfr_request_id */, 1572 int /* nfr_request_id */,
1572 float /* distance */) 1573 float /* distance */)
1573 #endif 1574 #endif
1574 1575
1575 // Adding a new message? Stick to the sort order above: first platform 1576 // Adding a new message? Stick to the sort order above: first platform
1576 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1577 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1577 // platform independent FrameHostMsg, then ifdefs for platform specific 1578 // platform independent FrameHostMsg, then ifdefs for platform specific
1578 // FrameHostMsg. 1579 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698