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

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

Issue 2612793002: Implement ContentSecurityPolicy on the browser-side. (Closed)
Patch Set: Add the TODO and bug ids that was forgotten. 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
« 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 blink::WebInsecureRequestPolicy policy) override; 517 blink::WebInsecureRequestPolicy policy) override;
518 void didUpdateToUniqueOrigin( 518 void didUpdateToUniqueOrigin(
519 bool is_potentially_trustworthy_unique_origin) override; 519 bool is_potentially_trustworthy_unique_origin) override;
520 void didChangeSandboxFlags(blink::WebFrame* child_frame, 520 void didChangeSandboxFlags(blink::WebFrame* child_frame,
521 blink::WebSandboxFlags flags) override; 521 blink::WebSandboxFlags flags) override;
522 void didSetFeaturePolicyHeader( 522 void didSetFeaturePolicyHeader(
523 const blink::WebParsedFeaturePolicyHeader& parsed_header) override; 523 const blink::WebParsedFeaturePolicyHeader& parsed_header) override;
524 void didAddContentSecurityPolicy( 524 void didAddContentSecurityPolicy(
525 const blink::WebString& header_value, 525 const blink::WebString& header_value,
526 blink::WebContentSecurityPolicyType type, 526 blink::WebContentSecurityPolicyType type,
527 blink::WebContentSecurityPolicySource source) override; 527 blink::WebContentSecurityPolicySource source,
528 const std::vector<blink::WebContentSecurityPolicyPolicy>&) override;
528 void didChangeFrameOwnerProperties( 529 void didChangeFrameOwnerProperties(
529 blink::WebFrame* child_frame, 530 blink::WebFrame* child_frame,
530 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 531 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
531 void didMatchCSS( 532 void didMatchCSS(
532 blink::WebLocalFrame* frame, 533 blink::WebLocalFrame* frame,
533 const blink::WebVector<blink::WebString>& newly_matching_selectors, 534 const blink::WebVector<blink::WebString>& newly_matching_selectors,
534 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 535 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
535 override; 536 override;
536 void setHasReceivedUserGesture() override; 537 void setHasReceivedUserGesture() override;
537 bool shouldReportDetailedMessageForSource( 538 bool shouldReportDetailedMessageForSource(
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1396 int enabled_bindings_ = 0; 1397 int enabled_bindings_ = 0;
1397 1398
1398 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1399 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1399 1400
1400 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1401 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1401 }; 1402 };
1402 1403
1403 } // namespace content 1404 } // namespace content
1404 1405
1405 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1406 #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