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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 10310124: Implement a ResourceThrottle for URL overriding in Chrome on Android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix build (Referrer is a struct, not a class) Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 7cd2ccda029cda6277f53d7a8e0e6536f6800596..2134a756f41e0bd33a24f060b564416219d0d3a1 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -123,6 +123,14 @@ RenderViewHost* RenderViewHost::From(RenderWidgetHost* rwh) {
return static_cast<RenderViewHostImpl*>(RenderWidgetHostImpl::From(rwh));
}
+// static
+void RenderViewHost::FilterURL(int renderer_id,
+ bool empty_allowed,
+ GURL* url) {
+ RenderViewHostImpl::FilterURL(ChildProcessSecurityPolicyImpl::GetInstance(),
+ renderer_id, empty_allowed, url);
+}
+
///////////////////////////////////////////////////////////////////////////////
// RenderViewHostImpl, public:
« no previous file with comments | « content/browser/download/download_resource_handler.cc ('k') | content/browser/renderer_host/resource_request_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698