| 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 "headless/public/util/dom_tree_extractor.h" | 5 #include "headless/public/util/dom_tree_extractor.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include "base/json/json_writer.h" | 8 #include "base/json/json_writer.h" |
| 9 #include "base/strings/string_util.h" | 9 #include "base/strings/string_util.h" |
| 10 #include "content/public/browser/render_widget_host_view.h" | 10 #include "content/public/browser/render_widget_host_view.h" |
| 11 #include "content/public/browser/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 12 #include "content/public/test/browser_test.h" | 12 #include "content/public/test/browser_test.h" |
| 13 #include "headless/lib/browser/headless_web_contents_impl.h" | 13 #include "headless/lib/browser/headless_web_contents_impl.h" |
| 14 #include "headless/public/domains/browser.h" | |
| 15 #include "headless/public/domains/emulation.h" | 14 #include "headless/public/domains/emulation.h" |
| 16 #include "headless/public/domains/network.h" | 15 #include "headless/public/domains/network.h" |
| 17 #include "headless/public/domains/page.h" | 16 #include "headless/public/domains/page.h" |
| 18 #include "headless/public/headless_browser.h" | 17 #include "headless/public/headless_browser.h" |
| 19 #include "headless/public/headless_devtools_client.h" | 18 #include "headless/public/headless_devtools_client.h" |
| 20 #include "headless/public/headless_devtools_target.h" | 19 #include "headless/public/headless_devtools_target.h" |
| 21 #include "headless/test/headless_browser_test.h" | 20 #include "headless/test/headless_browser_test.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| 23 #include "url/gurl.h" | 22 #include "url/gurl.h" |
| 24 | 23 |
| (...skipping 799 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 | 823 |
| 825 FinishAsynchronousTest(); | 824 FinishAsynchronousTest(); |
| 826 } | 825 } |
| 827 | 826 |
| 828 std::unique_ptr<DomTreeExtractor> extractor_; | 827 std::unique_ptr<DomTreeExtractor> extractor_; |
| 829 }; | 828 }; |
| 830 | 829 |
| 831 HEADLESS_ASYNC_DEVTOOLED_TEST_F(DomTreeExtractorBrowserTest); | 830 HEADLESS_ASYNC_DEVTOOLED_TEST_F(DomTreeExtractorBrowserTest); |
| 832 | 831 |
| 833 } // namespace headless | 832 } // namespace headless |
| OLD | NEW |