OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 | 5 #include "build/build_config.h" |
6 #include "content/browser/frame_host/frame_tree.h" | 6 #include "content/browser/frame_host/frame_tree.h" |
7 #include "content/browser/site_per_process_browsertest.h" | 7 #include "content/browser/site_per_process_browsertest.h" |
8 #include "content/browser/web_contents/web_contents_impl.h" | 8 #include "content/browser/web_contents/web_contents_impl.h" |
9 #include "content/public/browser/devtools_agent_host.h" | 9 #include "content/public/browser/devtools_agent_host.h" |
10 #include "content/public/test/content_browser_test_utils.h" | 10 #include "content/public/test/content_browser_test_utils.h" |
11 #include "content/public/test/test_utils.h" | 11 #include "content/public/test/test_utils.h" |
12 #include "content/shell/browser/shell.h" | 12 #include "content/shell/browser/shell.h" |
13 #include "content/test/content_browser_test_utils_internal.h" | 13 #include "content/test/content_browser_test_utils_internal.h" |
14 #include "net/dns/mock_host_resolver.h" | 14 #include "net/dns/mock_host_resolver.h" |
15 | 15 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 replace_host.SetHostStr("foo.com"); | 139 replace_host.SetHostStr("foo.com"); |
140 cross_site_url = cross_site_url.ReplaceComponents(replace_host); | 140 cross_site_url = cross_site_url.ReplaceComponents(replace_host); |
141 NavigateFrameToURL(root->child_at(0), cross_site_url); | 141 NavigateFrameToURL(root->child_at(0), cross_site_url); |
142 | 142 |
143 child_frame_agent = | 143 child_frame_agent = |
144 DevToolsAgentHost::GetOrCreateFor(child->current_frame_host()); | 144 DevToolsAgentHost::GetOrCreateFor(child->current_frame_host()); |
145 EXPECT_NE(page_agent.get(), child_frame_agent.get()); | 145 EXPECT_NE(page_agent.get(), child_frame_agent.get()); |
146 } | 146 } |
147 | 147 |
148 } // namespace content | 148 } // namespace content |
OLD | NEW |