| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index c7fe00095eb69e338bc575553d6f6db1e7fd65a2..1560c1f65aeea3ed165f9e55a14ef6e9e7e40d38 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -192,6 +192,12 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // protocol handlers.
|
| virtual bool IsHandledURL(const GURL& url);
|
|
|
| + // Returns whether the given process is allowed to commit |url|. This is a
|
| + // more conservative check than IsSuitableHost, since it is used after a
|
| + // navigation has committed to ensure that the process did not exceed its
|
| + // authority.
|
| + virtual bool CanCommitURL(RenderProcessHost* process_host, const GURL& url);
|
| +
|
| // Returns whether a new view for a given |site_url| can be launched in a
|
| // given |process_host|.
|
| virtual bool IsSuitableHost(RenderProcessHost* process_host,
|
|
|