Chromium Code Reviews| 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..8a63c38aeb6eb401139f28a17855e63222d83d5c 100644 |
| --- a/content/public/browser/child_process_security_policy.h |
| +++ b/content/public/browser/child_process_security_policy.h |
| @@ -40,6 +40,9 @@ class ChildProcessSecurityPolicy { |
| // Returns true iff |scheme| has been registered as a web-safe scheme. |
| virtual bool IsWebSafeScheme(const std::string& scheme) = 0; |
| + // Returns true iff |scheme| has been registered as a pseudo-scheme |
|
jam
2014/05/13 21:38:25
do we really want to expose this concept outside c
Fady Samuel
2014/05/15 20:02:57
We need to support about:, but that's it. We don't
|
| + virtual bool IsPseudoScheme(const std::string& scheme) = 0; |
| + |
| // This permission grants only read access to a file. |
| // Whenever the user picks a file from a <input type="file"> element, the |
| // browser should call this function to grant the child process the capability |