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

Unified Diff: content/public/browser/render_view_host.h

Issue 11313018: Prevent webview tags from navigating outside web-safe schemes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove TODO Created 8 years, 2 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/public/browser/render_view_host.h
diff --git a/content/public/browser/render_view_host.h b/content/public/browser/render_view_host.h
index db2cff7bd9f8e327a18507a5774ede2d86f5136a..e179e73529678117f9f6fd63f4cfd205f5126f7e 100644
--- a/content/public/browser/render_view_host.h
+++ b/content/public/browser/render_view_host.h
@@ -66,7 +66,7 @@ class CONTENT_EXPORT RenderViewHost : virtual public RenderWidgetHost {
// Checks that the given renderer can request |url|, if not it sets it to
// about:blank.
// |empty_allowed| must be set to false for navigations for security reasons.
- static void FilterURL(int renderer_id,
+ static void FilterURL(RenderProcessHost* process,
Tom Sepez 2012/10/29 17:59:08 nit: is this const?
Charlie Reis 2012/10/29 18:18:31 Yep. Updated.
bool empty_allowed,
GURL* url);

Powered by Google App Engine
This is Rietveld 408576698