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 2f2b8100b8c68b4b07d6ad4870939250ddaf063d..271e69c0acd110ed0e3d74f7b1d0c8512300973f 100644 |
--- a/content/browser/child_process_security_policy_impl.h |
+++ b/content/browser/child_process_security_policy_impl.h |
@@ -8,6 +8,7 @@ |
#include <map> |
#include <set> |
#include <string> |
+#include <vector> |
#include "base/compiler_specific.h" |
#include "base/gtest_prod_util.h" |
@@ -77,6 +78,9 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl |
void GrantSendMidiSysExMessage(int child_id) override; |
bool CanAccessDataForOrigin(int child_id, const GURL& url) override; |
+ // Returns if |child_id| can read all of the |files|. |
+ bool CanReadAllFiles(int child_id, const std::vector<base::FilePath>& files); |
+ |
// Pseudo schemes are treated differently than other schemes because they |
// cannot be requested like normal URLs. There is no mechanism for revoking |
// pseudo schemes. |