| 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 522a377c07e37ea5d0f500d600901060450e44af..59d0274554ea5cfc5f40c308bf5bd4dfceecd918 100644
|
| --- a/content/browser/child_process_security_policy_impl.h
|
| +++ b/content/browser/child_process_security_policy_impl.h
|
| @@ -126,6 +126,12 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
| // request the URL.
|
| bool CanRequestURL(int child_id, const GURL& url);
|
|
|
| + // 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
|
| + // handlers.
|
| + bool CanCommitURL(int child_id, const GURL& url);
|
| +
|
| // Explicit permissions checks for FileSystemURL specified files.
|
| bool CanReadFileSystemFile(int child_id, const storage::FileSystemURL& url);
|
| bool CanWriteFileSystemFile(int child_id, const storage::FileSystemURL& url);
|
|
|