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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: CSP send policies in didAddContentSecurityPolicy one by one. Created 3 years, 9 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 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 void didUpdateToUniqueOrigin( 521 void didUpdateToUniqueOrigin(
522 bool is_potentially_trustworthy_unique_origin) override; 522 bool is_potentially_trustworthy_unique_origin) override;
523 void didChangeSandboxFlags(blink::WebFrame* child_frame, 523 void didChangeSandboxFlags(blink::WebFrame* child_frame,
524 blink::WebSandboxFlags flags) override; 524 blink::WebSandboxFlags flags) override;
525 void didSetFeaturePolicyHeader( 525 void didSetFeaturePolicyHeader(
526 const blink::WebParsedFeaturePolicy& parsed_header) override; 526 const blink::WebParsedFeaturePolicy& parsed_header) override;
527 void didAddContentSecurityPolicy( 527 void didAddContentSecurityPolicy(
528 const blink::WebString& header_value, 528 const blink::WebString& header_value,
529 blink::WebContentSecurityPolicyType type, 529 blink::WebContentSecurityPolicyType type,
530 blink::WebContentSecurityPolicySource source, 530 blink::WebContentSecurityPolicySource source,
531 const std::vector<blink::WebContentSecurityPolicyPolicy>&) override; 531 const blink::WebContentSecurityPolicyPolicy&) override;
532 void didChangeFrameOwnerProperties( 532 void didChangeFrameOwnerProperties(
533 blink::WebFrame* child_frame, 533 blink::WebFrame* child_frame,
534 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 534 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
535 void didMatchCSS( 535 void didMatchCSS(
536 blink::WebLocalFrame* frame, 536 blink::WebLocalFrame* frame,
537 const blink::WebVector<blink::WebString>& newly_matching_selectors, 537 const blink::WebVector<blink::WebString>& newly_matching_selectors,
538 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 538 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
539 override; 539 override;
540 void setHasReceivedUserGesture() override; 540 void setHasReceivedUserGesture() override;
541 bool shouldReportDetailedMessageForSource( 541 bool shouldReportDetailedMessageForSource(
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1420 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1421 1421
1422 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1422 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1423 1423
1424 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1424 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1425 }; 1425 };
1426 1426
1427 } // namespace content 1427 } // namespace content
1428 1428
1429 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1429 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698