OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/browser/site_instance_impl.h" | 5 #include "content/browser/site_instance_impl.h" |
6 | 6 |
7 #include "content/browser/browsing_instance.h" | 7 #include "content/browser/browsing_instance.h" |
8 #include "content/browser/child_process_security_policy_impl.h" | |
9 #include "content/browser/frame_host/debug_urls.h" | 8 #include "content/browser/frame_host/debug_urls.h" |
10 #include "content/browser/frame_host/frame_tree_node.h" | 9 #include "content/browser/frame_host/frame_tree_node.h" |
11 #include "content/browser/renderer_host/render_process_host_impl.h" | 10 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 11 #include "content/browser/shared/child_process_security_policy_helper.h" |
12 #include "content/browser/storage_partition_impl.h" | 12 #include "content/browser/storage_partition_impl.h" |
13 #include "content/common/site_isolation_policy.h" | 13 #include "content/common/site_isolation_policy.h" |
14 #include "content/public/browser/content_browser_client.h" | 14 #include "content/public/browser/content_browser_client.h" |
15 #include "content/public/browser/render_process_host_factory.h" | 15 #include "content/public/browser/render_process_host_factory.h" |
16 #include "content/public/browser/web_ui_controller_factory.h" | 16 #include "content/public/browser/web_ui_controller_factory.h" |
17 #include "content/public/common/url_constants.h" | 17 #include "content/public/common/url_constants.h" |
18 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 18 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 | 21 |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 browsing_instance_->browser_context(), site_)) | 429 browsing_instance_->browser_context(), site_)) |
430 return; | 430 return; |
431 | 431 |
432 ChildProcessSecurityPolicyImpl* policy = | 432 ChildProcessSecurityPolicyImpl* policy = |
433 ChildProcessSecurityPolicyImpl::GetInstance(); | 433 ChildProcessSecurityPolicyImpl::GetInstance(); |
434 policy->LockToOrigin(process_->GetID(), site_); | 434 policy->LockToOrigin(process_->GetID(), site_); |
435 } | 435 } |
436 } | 436 } |
437 | 437 |
438 } // namespace content | 438 } // namespace content |
OLD | NEW |