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

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

Issue 2764993002: CSP: group policies in didAddContentSecurityPolicy. (Closed)
Patch Set: Rebase. Created 3 years, 8 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/renderer/content_security_policy_util.cc ('k') | content/renderer/render_frame_impl.cc » ('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 #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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 void willCommitProvisionalLoad() override; 520 void willCommitProvisionalLoad() override;
521 void didChangeName(const blink::WebString& name) override; 521 void didChangeName(const blink::WebString& name) override;
522 void didEnforceInsecureRequestPolicy( 522 void didEnforceInsecureRequestPolicy(
523 blink::WebInsecureRequestPolicy policy) override; 523 blink::WebInsecureRequestPolicy policy) override;
524 void didUpdateToUniqueOrigin( 524 void didUpdateToUniqueOrigin(
525 bool is_potentially_trustworthy_unique_origin) override; 525 bool is_potentially_trustworthy_unique_origin) override;
526 void didChangeSandboxFlags(blink::WebFrame* child_frame, 526 void didChangeSandboxFlags(blink::WebFrame* child_frame,
527 blink::WebSandboxFlags flags) override; 527 blink::WebSandboxFlags flags) override;
528 void didSetFeaturePolicyHeader( 528 void didSetFeaturePolicyHeader(
529 const blink::WebParsedFeaturePolicy& parsed_header) override; 529 const blink::WebParsedFeaturePolicy& parsed_header) override;
530 void didAddContentSecurityPolicy( 530 void didAddContentSecurityPolicies(
531 const blink::WebString& header_value, 531 const blink::WebVector<blink::WebContentSecurityPolicy>&) override;
532 blink::WebContentSecurityPolicyType type,
533 blink::WebContentSecurityPolicySource source,
534 const std::vector<blink::WebContentSecurityPolicy>&) override;
535 void didChangeFrameOwnerProperties( 532 void didChangeFrameOwnerProperties(
536 blink::WebFrame* child_frame, 533 blink::WebFrame* child_frame,
537 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 534 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
538 void didMatchCSS( 535 void didMatchCSS(
539 blink::WebLocalFrame* frame, 536 blink::WebLocalFrame* frame,
540 const blink::WebVector<blink::WebString>& newly_matching_selectors, 537 const blink::WebVector<blink::WebString>& newly_matching_selectors,
541 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 538 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
542 override; 539 override;
543 void setHasReceivedUserGesture() override; 540 void setHasReceivedUserGesture() override;
544 bool shouldReportDetailedMessageForSource( 541 bool shouldReportDetailedMessageForSource(
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after
1426 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_; 1423 std::unique_ptr<PendingNavigationInfo> pending_navigation_info_;
1427 1424
1428 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1425 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1429 1426
1430 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1427 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1431 }; 1428 };
1432 1429
1433 } // namespace content 1430 } // namespace content
1434 1431
1435 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1432 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/content_security_policy_util.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698