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

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: fixed chromeos build issue + rebase 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 eba176fdee120264173b85e1f82a7189bdff9679..8b6c46bd2c9eaefd408761077a0c9885f6dc6311 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -124,6 +124,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:

Powered by Google App Engine
This is Rietveld 408576698