| 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 8a3d410e5294d75a2452fffc32ca2200e91f26df..93d2b116172e3573d748509d048fc3541b485ed2 100644
|
| --- a/content/browser/child_process_security_policy_impl.h
|
| +++ b/content/browser/child_process_security_policy_impl.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/memory/singleton.h"
|
| #include "base/synchronization/lock.h"
|
| #include "content/public/browser/child_process_security_policy.h"
|
| +#include "webkit/glue/resource_type.h"
|
|
|
| class FilePath;
|
| class GURL;
|
| @@ -110,6 +111,13 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
| // request the URL.
|
| bool CanRequestURL(int child_id, const GURL& url);
|
|
|
| + // Returns true if the process is permitted to load pages from
|
| + // the given origin in main frames or subframes.
|
| + // Only might return false if --site-per-process flag is used.
|
| + bool CanLoadPage(int child_id,
|
| + const GURL& url,
|
| + ResourceType::Type resource_type);
|
| +
|
| // Before servicing a child process's request to enumerate a directory
|
| // the browser should call this method to check for the capability.
|
| bool CanReadDirectory(int child_id, const FilePath& directory);
|
|
|