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

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

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanitize report endpoints from IPC against actual CSP contents. Created 4 years, 4 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Singly or Multiply-included shared traits file depending on circumstances. 5 // Singly or Multiply-included shared traits file depending on circumstances.
6 // This allows the use of IPC serialization macros in more than one IPC message 6 // This allows the use of IPC serialization macros in more than one IPC message
7 // file. 7 // file.
8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ 8 #ifndef CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ 9 #define CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
10 10
(...skipping 19 matching lines...) Expand all
30 IPC_ENUM_TRAITS_MAX_VALUE(content::ResourceType, 30 IPC_ENUM_TRAITS_MAX_VALUE(content::ResourceType,
31 content::RESOURCE_TYPE_LAST_TYPE - 1) 31 content::RESOURCE_TYPE_LAST_TYPE - 1)
32 IPC_ENUM_TRAITS_MAX_VALUE(content::RequestContextType, 32 IPC_ENUM_TRAITS_MAX_VALUE(content::RequestContextType,
33 content::REQUEST_CONTEXT_TYPE_LAST) 33 content::REQUEST_CONTEXT_TYPE_LAST)
34 IPC_ENUM_TRAITS_MAX_VALUE(content::RequestContextFrameType, 34 IPC_ENUM_TRAITS_MAX_VALUE(content::RequestContextFrameType,
35 content::REQUEST_CONTEXT_FRAME_TYPE_LAST) 35 content::REQUEST_CONTEXT_FRAME_TYPE_LAST)
36 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContentSecurityPolicySource, 36 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContentSecurityPolicySource,
37 blink::WebContentSecurityPolicySourceLast) 37 blink::WebContentSecurityPolicySourceLast)
38 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContentSecurityPolicyType, 38 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContentSecurityPolicyType,
39 blink::WebContentSecurityPolicyTypeLast) 39 blink::WebContentSecurityPolicyTypeLast)
40 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContentSecurityPolicyViolationType,
41 blink::WebContentSecurityPolicyViolationTypeLast)
40 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebAddressSpace, blink::WebAddressSpaceLast) 42 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebAddressSpace, blink::WebAddressSpaceLast)
41 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebSharedWorkerCreationContextType, 43 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebSharedWorkerCreationContextType,
42 blink::WebSharedWorkerCreationContextTypeLast) 44 blink::WebSharedWorkerCreationContextTypeLast)
43 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebInputEvent::Type, 45 IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebInputEvent::Type,
44 blink::WebInputEvent::TypeFirst, 46 blink::WebInputEvent::TypeFirst,
45 blink::WebInputEvent::TypeLast) 47 blink::WebInputEvent::TypeLast)
46 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPageVisibilityState, 48 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPageVisibilityState,
47 blink::WebPageVisibilityStateLast) 49 blink::WebPageVisibilityStateLast)
48 50
49 IPC_STRUCT_TRAITS_BEGIN(blink::WebCompositionUnderline) 51 IPC_STRUCT_TRAITS_BEGIN(blink::WebCompositionUnderline)
50 IPC_STRUCT_TRAITS_MEMBER(startOffset) 52 IPC_STRUCT_TRAITS_MEMBER(startOffset)
51 IPC_STRUCT_TRAITS_MEMBER(endOffset) 53 IPC_STRUCT_TRAITS_MEMBER(endOffset)
52 IPC_STRUCT_TRAITS_MEMBER(color) 54 IPC_STRUCT_TRAITS_MEMBER(color)
53 IPC_STRUCT_TRAITS_MEMBER(thick) 55 IPC_STRUCT_TRAITS_MEMBER(thick)
54 IPC_STRUCT_TRAITS_MEMBER(backgroundColor) 56 IPC_STRUCT_TRAITS_MEMBER(backgroundColor)
55 IPC_STRUCT_TRAITS_END() 57 IPC_STRUCT_TRAITS_END()
56 58
57 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_ 59 #endif // CONTENT_COMMON_CONTENT_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_proxy_host.cc ('k') | content/common/content_security_policy_header.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698