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 06f3035558dd18bc6a11b51995e42be6843110f3..a4349c3f13c637ce6f96e0df481797b73b70f01c 100644 |
--- a/content/public/browser/child_process_security_policy.h |
+++ b/content/public/browser/child_process_security_policy.h |
@@ -131,6 +131,11 @@ class ChildProcessSecurityPolicy { |
// scheme. |
virtual void GrantScheme(int child_id, const std::string& scheme) = 0; |
+ // Grants the child process the capability to access URLs with both the |
+ // provided scheme and host. |
Charlie Reis
2015/09/22 17:38:15
Maybe we should be using url::Origins here, rather
paulmeyer
2015/09/22 22:13:57
Done and done.
Charlie Reis
2015/09/23 00:07:15
Please use url::Origins rather than strings (same
paulmeyer
2015/09/23 17:03:54
Sorry, I misunderstood. Now using url::Origin.
|
+ virtual void GrantSchemeHost(int child_id, const std::string& scheme, |
+ const std::string& host) = 0; |
Charlie Reis
2015/09/22 17:38:15
Same style nit.
paulmeyer
2015/09/22 22:13:57
Done.
|
+ |
// Returns true if read access has been granted to |filesystem_id|. |
virtual bool CanReadFileSystem(int child_id, |
const std::string& filesystem_id) = 0; |