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

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

Issue 2612793002: Implement ContentSecurityPolicy on the browser-side. (Closed)
Patch Set: Rename SchemeShouldBypass => SchemeShouldBypassCSP. 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 #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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 blink::WebInsecureRequestPolicy policy) override; 514 blink::WebInsecureRequestPolicy policy) override;
515 void didUpdateToUniqueOrigin( 515 void didUpdateToUniqueOrigin(
516 bool is_potentially_trustworthy_unique_origin) override; 516 bool is_potentially_trustworthy_unique_origin) override;
517 void didChangeSandboxFlags(blink::WebFrame* child_frame, 517 void didChangeSandboxFlags(blink::WebFrame* child_frame,
518 blink::WebSandboxFlags flags) override; 518 blink::WebSandboxFlags flags) override;
519 void didSetFeaturePolicyHeader( 519 void didSetFeaturePolicyHeader(
520 const blink::WebParsedFeaturePolicyHeader& parsed_header) override; 520 const blink::WebParsedFeaturePolicyHeader& parsed_header) override;
521 void didAddContentSecurityPolicy( 521 void didAddContentSecurityPolicy(
522 const blink::WebString& header_value, 522 const blink::WebString& header_value,
523 blink::WebContentSecurityPolicyType type, 523 blink::WebContentSecurityPolicyType type,
524 blink::WebContentSecurityPolicySource source) override; 524 blink::WebContentSecurityPolicySource source,
525 const std::vector<blink::WebContentSecurityPolicyPolicy>&) override;
525 void didChangeFrameOwnerProperties( 526 void didChangeFrameOwnerProperties(
526 blink::WebFrame* child_frame, 527 blink::WebFrame* child_frame,
527 const blink::WebFrameOwnerProperties& frame_owner_properties) override; 528 const blink::WebFrameOwnerProperties& frame_owner_properties) override;
528 void didMatchCSS( 529 void didMatchCSS(
529 blink::WebLocalFrame* frame, 530 blink::WebLocalFrame* frame,
530 const blink::WebVector<blink::WebString>& newly_matching_selectors, 531 const blink::WebVector<blink::WebString>& newly_matching_selectors,
531 const blink::WebVector<blink::WebString>& stopped_matching_selectors) 532 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
532 override; 533 override;
533 void setHasReceivedUserGesture() override; 534 void setHasReceivedUserGesture() override;
534 bool shouldReportDetailedMessageForSource( 535 bool shouldReportDetailedMessageForSource(
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
1384 int enabled_bindings_ = 0; 1385 int enabled_bindings_ = 0;
1385 1386
1386 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1387 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1387 1388
1388 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1389 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1389 }; 1390 };
1390 1391
1391 } // namespace content 1392 } // namespace content
1392 1393
1393 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1394 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698