| Index: content/browser/renderer_host/render_view_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
|
| index 516af7e75b5fe6fa4c2323e35a61c892b965767f..c96e0f3f47aed5576a8dc0accfe49f6e24141edb 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.h
|
| +++ b/content/browser/renderer_host/render_view_host_impl.h
|
| @@ -422,6 +422,11 @@ class CONTENT_EXPORT RenderViewHostImpl
|
| return is_waiting_for_unload_ack_;
|
| }
|
|
|
| + // Returns whether the given URL is allowed to commit in the current process.
|
| + // This is a more conservative check than FilterURL, since it will be used to
|
| + // kill processes that commit unauthorized URLs.
|
| + bool CanCommitURL(const GURL& 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.
|
|
|