| Index: content/browser/child_process_security_policy_impl.cc
|
| diff --git a/content/browser/child_process_security_policy_impl.cc b/content/browser/child_process_security_policy_impl.cc
|
| index bb4a3e217a5a38a496ba7c7d7ea9da9f2ab4284a..25e2dbaa1dfb0e11de491afb929cd76855ae2407 100644
|
| --- a/content/browser/child_process_security_policy_impl.cc
|
| +++ b/content/browser/child_process_security_policy_impl.cc
|
| @@ -214,17 +214,6 @@ class ChildProcessSecurityPolicyImpl::SecurityState {
|
| return false;
|
| }
|
|
|
| - bool CanLoadPage(const GURL& gurl) {
|
| - if (origin_lock_.is_empty())
|
| - return true;
|
| -
|
| - // TODO(creis): We must pass the valid browser_context to convert hosted
|
| - // apps URLs. Currently, hosted apps cannot be loaded in this mode.
|
| - // See http://crbug.com/160576.
|
| - GURL site_gurl = SiteInstanceImpl::GetSiteForURL(NULL, gurl);
|
| - return origin_lock_ == site_gurl;
|
| - }
|
| -
|
| bool CanAccessCookiesForOrigin(const GURL& gurl) {
|
| if (origin_lock_.is_empty())
|
| return true;
|
|
|