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

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

Issue 2423233002: Preserving extra http request headers in OpenURL navigation path [relanding]. (Closed)
Patch Set: This patchset is copied from https://crrev.com/2355023002 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
« no previous file with comments | « content/browser/security_exploit_browsertest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 IPC_STRUCT_TRAITS_END() 402 IPC_STRUCT_TRAITS_END()
403 403
404 // Parameters included with an OpenURL request. 404 // Parameters included with an OpenURL request.
405 // |is_history_navigation_in_new_child| is true in the case that the browser 405 // |is_history_navigation_in_new_child| is true in the case that the browser
406 // process should look for an existing history item for the frame. 406 // process should look for an existing history item for the frame.
407 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params) 407 IPC_STRUCT_BEGIN(FrameHostMsg_OpenURL_Params)
408 IPC_STRUCT_MEMBER(GURL, url) 408 IPC_STRUCT_MEMBER(GURL, url)
409 IPC_STRUCT_MEMBER(bool, uses_post) 409 IPC_STRUCT_MEMBER(bool, uses_post)
410 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>, 410 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBodyImpl>,
411 resource_request_body) 411 resource_request_body)
412 IPC_STRUCT_MEMBER(std::string, extra_headers)
412 IPC_STRUCT_MEMBER(content::Referrer, referrer) 413 IPC_STRUCT_MEMBER(content::Referrer, referrer)
413 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition) 414 IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
414 IPC_STRUCT_MEMBER(bool, should_replace_current_entry) 415 IPC_STRUCT_MEMBER(bool, should_replace_current_entry)
415 IPC_STRUCT_MEMBER(bool, user_gesture) 416 IPC_STRUCT_MEMBER(bool, user_gesture)
416 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child) 417 IPC_STRUCT_MEMBER(bool, is_history_navigation_in_new_child)
417 IPC_STRUCT_END() 418 IPC_STRUCT_END()
418 419
419 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params) 420 IPC_STRUCT_BEGIN(FrameMsg_TextTrackSettings_Params)
420 // Text tracks on/off state 421 // Text tracks on/off state
421 IPC_STRUCT_MEMBER(bool, text_tracks_enabled) 422 IPC_STRUCT_MEMBER(bool, text_tracks_enabled)
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 // nearest find result in the sending frame. 1497 // nearest find result in the sending frame.
1497 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1498 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1498 int /* nfr_request_id */, 1499 int /* nfr_request_id */,
1499 float /* distance */) 1500 float /* distance */)
1500 #endif 1501 #endif
1501 1502
1502 // Adding a new message? Stick to the sort order above: first platform 1503 // Adding a new message? Stick to the sort order above: first platform
1503 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1504 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1504 // platform independent FrameHostMsg, then ifdefs for platform specific 1505 // platform independent FrameHostMsg, then ifdefs for platform specific
1505 // FrameHostMsg. 1506 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/security_exploit_browsertest.cc ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698