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

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

Issue 9815030: Merge parts of 117417 from trunk. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_view_host.h
===================================================================
--- content/browser/renderer_host/render_view_host.h (revision 128048)
+++ content/browser/renderer_host/render_view_host.h (working copy)
@@ -405,10 +405,12 @@
return is_waiting_for_unload_ack_;
}
- // Checks that the given renderer can request |url|, if not it sets it to an
- // empty url.
+ // 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(ChildProcessSecurityPolicy* policy,
int renderer_id,
+ bool empty_allowed,
GURL* url);
// Sets the alternate error page URL (link doctor) for the renderer process.
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698