| Index: content/public/browser/child_process_security_policy.h
|
| diff --git a/content/public/browser/child_process_security_policy.h b/content/public/browser/child_process_security_policy.h
|
| index 1bbe218dc6009e3b36b09fde7c7cd9113e8506c7..396777370d11c4f050842f45044d76df644a3d56 100644
|
| --- a/content/public/browser/child_process_security_policy.h
|
| +++ b/content/public/browser/child_process_security_policy.h
|
| @@ -87,6 +87,9 @@ class ChildProcessSecurityPolicy {
|
| // calls this method to determine whether it is safe.
|
| virtual bool CanRequestURL(int child_id, const GURL& url) = 0;
|
|
|
| + // Determine whether a redirect is allowed to proceed.
|
| + virtual bool CanRedirectToURL(const GURL& url) = 0;
|
| +
|
| // Whether the process is allowed to commit a document from the given URL.
|
| // This is more restrictive than CanRequestURL, since CanRequestURL allows
|
| // requests that might lead to cross-process navigations or external protocol
|
|
|