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

Side by Side Diff: content/renderer/render_frame_proxy.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/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PROXY_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 void OnDeleteProxy(); 163 void OnDeleteProxy();
164 void OnChildFrameProcessGone(); 164 void OnChildFrameProcessGone();
165 void OnCompositorFrameSwapped(const IPC::Message& message); 165 void OnCompositorFrameSwapped(const IPC::Message& message);
166 void OnSetChildFrameSurface(const cc::SurfaceInfo& surface_info, 166 void OnSetChildFrameSurface(const cc::SurfaceInfo& surface_info,
167 const cc::SurfaceSequence& sequence); 167 const cc::SurfaceSequence& sequence);
168 void OnUpdateOpener(int opener_routing_id); 168 void OnUpdateOpener(int opener_routing_id);
169 void OnDidStopLoading(); 169 void OnDidStopLoading();
170 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags); 170 void OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags);
171 void OnDispatchLoad(); 171 void OnDispatchLoad();
172 void OnDidUpdateName(const std::string& name, const std::string& unique_name); 172 void OnDidUpdateName(const std::string& name, const std::string& unique_name);
173 void OnAddContentSecurityPolicy(const ContentSecurityPolicyHeader& header); 173 void OnAddContentSecurityPolicies(
174 const std::vector<ContentSecurityPolicyHeader>& header);
174 void OnResetContentSecurityPolicy(); 175 void OnResetContentSecurityPolicy();
175 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy); 176 void OnEnforceInsecureRequestPolicy(blink::WebInsecureRequestPolicy policy);
176 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties); 177 void OnSetFrameOwnerProperties(const FrameOwnerProperties& properties);
177 void OnDidUpdateOrigin(const url::Origin& origin, 178 void OnDidUpdateOrigin(const url::Origin& origin,
178 bool is_potentially_trustworthy_unique_origin); 179 bool is_potentially_trustworthy_unique_origin);
179 void OnSetPageFocus(bool is_focused); 180 void OnSetPageFocus(bool is_focused);
180 void OnSetFocusedFrame(); 181 void OnSetFocusedFrame();
181 void OnWillEnterFullscreen(); 182 void OnWillEnterFullscreen();
182 void OnSetHasReceivedUserGesture(); 183 void OnSetHasReceivedUserGesture();
183 184
(...skipping 11 matching lines...) Expand all
195 196
196 RenderViewImpl* render_view_; 197 RenderViewImpl* render_view_;
197 RenderWidget* render_widget_; 198 RenderWidget* render_widget_;
198 199
199 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy); 200 DISALLOW_COPY_AND_ASSIGN(RenderFrameProxy);
200 }; 201 };
201 202
202 } // namespace 203 } // namespace
203 204
204 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_ 205 #endif // CONTENT_RENDERER_RENDER_FRAME_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_frame_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698