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..c1e6bb541b472a176941f54d1ac3db7ed82ddae3 100644 |
--- a/content/public/browser/child_process_security_policy.h |
+++ b/content/public/browser/child_process_security_policy.h |
@@ -10,6 +10,7 @@ |
#include "base/basictypes.h" |
#include "content/common/content_export.h" |
#include "url/gurl.h" |
+#include "url/origin.h" |
namespace base { |
class FilePath; |
@@ -127,6 +128,10 @@ class ChildProcessSecurityPolicy { |
virtual void GrantDeleteFromFileSystem(int child_id, |
const std::string& filesystem_id) = 0; |
+ // Grants the child process the capability to access URLs with the provided |
+ // origin. |
+ virtual void GrantOrigin(int child_id, const url::Origin& origin) = 0; |
+ |
// Grants the child process the capability to access URLs of the provided |
// scheme. |
virtual void GrantScheme(int child_id, const std::string& scheme) = 0; |