Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1164)

Side by Side Diff: headless/public/util/dom_tree_extractor_browsertest.cc

Issue 2473073003: [headless] Refactor headless devtools client API. (Closed)
Patch Set: Address nits Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « headless/public/util/dom_tree_extractor.h ('k') | headless/test/headless_browser_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/emulation.h" 14 #include "headless/public/devtools/domains/emulation.h"
15 #include "headless/public/domains/network.h" 15 #include "headless/public/devtools/domains/network.h"
16 #include "headless/public/domains/page.h" 16 #include "headless/public/devtools/domains/page.h"
17 #include "headless/public/headless_browser.h" 17 #include "headless/public/headless_browser.h"
18 #include "headless/public/headless_devtools_client.h" 18 #include "headless/public/headless_devtools_client.h"
19 #include "headless/public/headless_devtools_target.h" 19 #include "headless/public/headless_devtools_target.h"
20 #include "headless/test/headless_browser_test.h" 20 #include "headless/test/headless_browser_test.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
24 namespace headless { 24 namespace headless {
25 25
26 class DomTreeExtractorBrowserTest : public HeadlessAsyncDevTooledBrowserTest, 26 class DomTreeExtractorBrowserTest : public HeadlessAsyncDevTooledBrowserTest,
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 795
796 FinishAsynchronousTest(); 796 FinishAsynchronousTest();
797 } 797 }
798 798
799 std::unique_ptr<DomTreeExtractor> extractor_; 799 std::unique_ptr<DomTreeExtractor> extractor_;
800 }; 800 };
801 801
802 HEADLESS_ASYNC_DEVTOOLED_TEST_F(DomTreeExtractorBrowserTest); 802 HEADLESS_ASYNC_DEVTOOLED_TEST_F(DomTreeExtractorBrowserTest);
803 803
804 } // namespace headless 804 } // namespace headless
OLDNEW
« no previous file with comments | « headless/public/util/dom_tree_extractor.h ('k') | headless/test/headless_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698