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

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

Issue 2689653003: PlzNavigate: Enforce 'form-action' CSP on the browser-side. (Closed)
Patch Set: PlzNavigate: Enforce 'form-action' CSP on the browser-side. Created 3 years, 10 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 IPC_STRUCT_TRAITS_MEMBER(headers) 350 IPC_STRUCT_TRAITS_MEMBER(headers)
351 IPC_STRUCT_TRAITS_MEMBER(load_flags) 351 IPC_STRUCT_TRAITS_MEMBER(load_flags)
352 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 352 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
353 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 353 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
354 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 354 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
355 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type) 355 IPC_STRUCT_TRAITS_MEMBER(mixed_content_context_type)
356 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) 356 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url)
357 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) 357 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding)
358 IPC_STRUCT_TRAITS_MEMBER(initiator_origin) 358 IPC_STRUCT_TRAITS_MEMBER(initiator_origin)
359 IPC_STRUCT_TRAITS_MEMBER(client_side_redirect_url) 359 IPC_STRUCT_TRAITS_MEMBER(client_side_redirect_url)
360 IPC_STRUCT_TRAITS_MEMBER(is_form_submission)
Mike West 2017/02/22 15:36:08 Addition of the bool to IPC looks fine.
arthursonzogni 2017/02/22 17:15:23 Acknowledged.
360 IPC_STRUCT_TRAITS_END() 361 IPC_STRUCT_TRAITS_END()
361 362
362 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 363 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
363 IPC_STRUCT_TRAITS_MEMBER(extra_headers) 364 IPC_STRUCT_TRAITS_MEMBER(extra_headers)
364 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 365 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
365 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 366 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
366 IPC_STRUCT_TRAITS_END() 367 IPC_STRUCT_TRAITS_END()
367 368
368 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming) 369 IPC_STRUCT_TRAITS_BEGIN(content::NavigationTiming)
369 IPC_STRUCT_TRAITS_MEMBER(redirect_start) 370 IPC_STRUCT_TRAITS_MEMBER(redirect_start)
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1643 // nearest find result in the sending frame. 1644 // nearest find result in the sending frame.
1644 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1645 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1645 int /* nfr_request_id */, 1646 int /* nfr_request_id */,
1646 float /* distance */) 1647 float /* distance */)
1647 #endif 1648 #endif
1648 1649
1649 // Adding a new message? Stick to the sort order above: first platform 1650 // Adding a new message? Stick to the sort order above: first platform
1650 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1651 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1651 // platform independent FrameHostMsg, then ifdefs for platform specific 1652 // platform independent FrameHostMsg, then ifdefs for platform specific
1652 // FrameHostMsg. 1653 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698