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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2761153003: PlzNavigate & CSP. Use the SourceLocation in violation reports. (Closed)
Patch Set: Transmit the source_location instead of the line number. 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
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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 const gfx::Rect& bounds) const override; 208 const gfx::Rect& bounds) const override;
209 float AccessibilityGetDeviceScaleFactor() const override; 209 float AccessibilityGetDeviceScaleFactor() const override;
210 void AccessibilityFatalError() override; 210 void AccessibilityFatalError() override;
211 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override; 211 gfx::AcceleratedWidget AccessibilityGetAcceleratedWidget() override;
212 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override; 212 gfx::NativeViewAccessible AccessibilityGetNativeViewAccessible() override;
213 213
214 // SiteInstanceImpl::Observer 214 // SiteInstanceImpl::Observer
215 void RenderProcessGone(SiteInstanceImpl* site_instance) override; 215 void RenderProcessGone(SiteInstanceImpl* site_instance) override;
216 216
217 // CSPContext 217 // CSPContext
218 void LogToConsole(const std::string& message) override;
219 void ReportContentSecurityPolicyViolation( 218 void ReportContentSecurityPolicyViolation(
220 const CSPViolationParams& violation_params) override; 219 const CSPViolationParams& violation_params) override;
221 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override; 220 bool SchemeShouldBypassCSP(const base::StringPiece& scheme) override;
222 221
223 // Creates a RenderFrame in the renderer process. 222 // Creates a RenderFrame in the renderer process.
224 bool CreateRenderFrame(int proxy_routing_id, 223 bool CreateRenderFrame(int proxy_routing_id,
225 int opener_routing_id, 224 int opener_routing_id,
226 int parent_routing_id, 225 int parent_routing_id,
227 int previous_sibling_routing_id); 226 int previous_sibling_routing_id);
228 227
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 1165
1167 // NOTE: This must be the last member. 1166 // NOTE: This must be the last member.
1168 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1167 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
1169 1168
1170 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1169 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1171 }; 1170 };
1172 1171
1173 } // namespace content 1172 } // namespace content
1174 1173
1175 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1174 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698