| Index: content/browser/child_process_security_policy_impl.h
|
| diff --git a/content/browser/child_process_security_policy_impl.h b/content/browser/child_process_security_policy_impl.h
|
| index bef3b7c8cccdfd5c67cf2ada2b800df395635268..4cbc417c07ce367ac4b09a70f40a0b97e412f4ea 100644
|
| --- a/content/browser/child_process_security_policy_impl.h
|
| +++ b/content/browser/child_process_security_policy_impl.h
|
| @@ -42,6 +42,7 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
| virtual void GrantAccessFileSystem(int child_id,
|
| const std::string& filesystem_id) OVERRIDE;
|
| virtual bool CanReadFile(int child_id, const FilePath& file) OVERRIDE;
|
| + virtual bool CanRequestURL(int child_id, const GURL& url) OVERRIDE;
|
|
|
| // Pseudo schemes are treated differently than other schemes because they
|
| // cannot be requested like normal URLs. There is no mechanism for revoking
|
| @@ -89,11 +90,6 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
| // Revoke read raw cookies permission.
|
| void RevokeReadRawCookies(int child_id);
|
|
|
| - // Before servicing a child process's request for a URL, the browser should
|
| - // call this method to determine whether the process has the capability to
|
| - // request the URL.
|
| - bool CanRequestURL(int child_id, const GURL& url);
|
| -
|
| // Before servicing a child process's request to enumerate a directory
|
| // the browser should call this method to check for the capability.
|
| bool CanReadDirectory(int child_id, const FilePath& directory);
|
|
|