OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/frame_host/render_frame_host_manager.h" | 5 #include "content/browser/frame_host/render_frame_host_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <string> | 10 #include <string> |
(...skipping 22 matching lines...) Expand all Loading... |
33 #include "content/browser/frame_host/render_frame_proxy_host.h" | 33 #include "content/browser/frame_host/render_frame_proxy_host.h" |
34 #include "content/browser/renderer_host/render_process_host_impl.h" | 34 #include "content/browser/renderer_host/render_process_host_impl.h" |
35 #include "content/browser/renderer_host/render_view_host_factory.h" | 35 #include "content/browser/renderer_host/render_view_host_factory.h" |
36 #include "content/browser/renderer_host/render_view_host_impl.h" | 36 #include "content/browser/renderer_host/render_view_host_impl.h" |
37 #include "content/browser/site_instance_impl.h" | 37 #include "content/browser/site_instance_impl.h" |
38 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 38 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
39 #include "content/common/frame_messages.h" | 39 #include "content/common/frame_messages.h" |
40 #include "content/common/frame_owner_properties.h" | 40 #include "content/common/frame_owner_properties.h" |
41 #include "content/common/site_isolation_policy.h" | 41 #include "content/common/site_isolation_policy.h" |
42 #include "content/common/view_messages.h" | 42 #include "content/common/view_messages.h" |
| 43 #include "content/public/browser/browser_context.h" |
43 #include "content/public/browser/content_browser_client.h" | 44 #include "content/public/browser/content_browser_client.h" |
44 #include "content/public/browser/render_process_host_observer.h" | 45 #include "content/public/browser/render_process_host_observer.h" |
45 #include "content/public/browser/render_widget_host_iterator.h" | 46 #include "content/public/browser/render_widget_host_iterator.h" |
46 #include "content/public/browser/render_widget_host_view.h" | 47 #include "content/public/browser/render_widget_host_view.h" |
47 #include "content/public/browser/user_metrics.h" | 48 #include "content/public/browser/user_metrics.h" |
48 #include "content/public/common/browser_side_navigation_policy.h" | 49 #include "content/public/common/browser_side_navigation_policy.h" |
49 #include "content/public/common/content_switches.h" | 50 #include "content/public/common/content_switches.h" |
50 #include "content/public/common/referrer.h" | 51 #include "content/public/common/referrer.h" |
51 #include "content/public/common/url_constants.h" | 52 #include "content/public/common/url_constants.h" |
52 | 53 |
(...skipping 2722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2775 resolved_url)) { | 2776 resolved_url)) { |
2776 DCHECK(!dest_instance || | 2777 DCHECK(!dest_instance || |
2777 dest_instance == render_frame_host_->GetSiteInstance()); | 2778 dest_instance == render_frame_host_->GetSiteInstance()); |
2778 return false; | 2779 return false; |
2779 } | 2780 } |
2780 | 2781 |
2781 return true; | 2782 return true; |
2782 } | 2783 } |
2783 | 2784 |
2784 } // namespace content | 2785 } // namespace content |
OLD | NEW |