| 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..36aed97792fa0104ec03566af776a6ce46608b44 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;
|
| @@ -108,7 +109,9 @@ class CONTENT_EXPORT ChildProcessSecurityPolicyImpl
|
| // Before servicing a child process's request for a URL, the browser should
|
| // call this method to determine whether the process has the capability to
|
| // request the URL.
|
| - bool CanRequestURL(int child_id, const GURL& url);
|
| + bool CanRequestURL(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.
|
|
|