| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "content/browser/frame_host/frame_tree_node.h" | 8 #include "content/browser/frame_host/frame_tree_node.h" |
| 9 #include "content/browser/web_contents/web_contents_impl.h" | 9 #include "content/browser/web_contents/web_contents_impl.h" |
| 10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
| 11 #include "content/public/test/browser_test_utils.h" | 11 #include "content/public/test/browser_test_utils.h" |
| 12 #include "content/public/test/content_browser_test.h" | 12 #include "content/public/test/content_browser_test.h" |
| 13 #include "content/public/test/content_browser_test_utils.h" | 13 #include "content/public/test/content_browser_test_utils.h" |
| 14 #include "content/public/test/test_frame_navigation_observer.h" |
| 14 #include "content/public/test/test_navigation_observer.h" | 15 #include "content/public/test/test_navigation_observer.h" |
| 15 #include "content/shell/browser/shell.h" | 16 #include "content/shell/browser/shell.h" |
| 16 #include "content/test/content_browser_test_utils_internal.h" | 17 #include "content/test/content_browser_test_utils_internal.h" |
| 17 #include "content/test/test_frame_navigation_observer.h" | |
| 18 #include "net/dns/mock_host_resolver.h" | 18 #include "net/dns/mock_host_resolver.h" |
| 19 #include "net/test/embedded_test_server/embedded_test_server.h" | 19 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| 21 | 21 |
| 22 namespace content { | 22 namespace content { |
| 23 | 23 |
| 24 class TopDocumentIsolationTest : public ContentBrowserTest { | 24 class TopDocumentIsolationTest : public ContentBrowserTest { |
| 25 public: | 25 public: |
| 26 TopDocumentIsolationTest() {} | 26 TopDocumentIsolationTest() {} |
| 27 | 27 |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 " C = http://adnetwork.com/", | 602 " C = http://adnetwork.com/", |
| 603 DepictFrameTree(root())); | 603 DepictFrameTree(root())); |
| 604 EXPECT_EQ( | 604 EXPECT_EQ( |
| 605 " Site C ------------ proxies for B\n" | 605 " Site C ------------ proxies for B\n" |
| 606 "Where B = default subframe process\n" | 606 "Where B = default subframe process\n" |
| 607 " C = http://adnetwork.com/", | 607 " C = http://adnetwork.com/", |
| 608 DepictFrameTree(popup_root)); | 608 DepictFrameTree(popup_root)); |
| 609 } | 609 } |
| 610 | 610 |
| 611 } // namespace content | 611 } // namespace content |
| OLD | NEW |