| 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 261bf58f1810ee8d559a83149a44b222f2c8039b..2edca7e41c3335c3b2fe725565365ae3ca91e815 100644
|
| --- a/content/public/browser/child_process_security_policy.h
|
| +++ b/content/public/browser/child_process_security_policy.h
|
| @@ -145,6 +145,11 @@ class ChildProcessSecurityPolicy {
|
| // Returns true if delete-from access has been granted to |filesystem_id|.
|
| virtual bool CanDeleteFromFileSystem(int child_id,
|
| const std::string& filesystem_id) = 0;
|
| +
|
| + // Returns true if the specified child_id has been granted WebUI bindings.
|
| + // The browser should check this property before assuming the child process
|
| + // is allowed to use WebUI bindings.
|
| + virtual bool HasWebUIBindings(int child_id) = 0;
|
| };
|
|
|
| } // namespace content
|
|
|