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

Side by Side Diff: headless/test/headless_browser_test.h

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
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 #ifndef HEADLESS_TEST_HEADLESS_BROWSER_TEST_H_ 5 #ifndef HEADLESS_TEST_HEADLESS_BROWSER_TEST_H_
6 #define HEADLESS_TEST_HEADLESS_BROWSER_TEST_H_ 6 #define HEADLESS_TEST_HEADLESS_BROWSER_TEST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "content/public/test/browser_test_base.h" 11 #include "content/public/test/browser_test_base.h"
12 #include "headless/public/domains/network.h" 12 #include "headless/public/devtools/domains/network.h"
13 #include "headless/public/domains/page.h" 13 #include "headless/public/devtools/domains/page.h"
14 #include "headless/public/headless_browser.h" 14 #include "headless/public/headless_browser.h"
15 #include "headless/public/headless_web_contents.h" 15 #include "headless/public/headless_web_contents.h"
16 16
17 namespace base { 17 namespace base {
18 class RunLoop; 18 class RunLoop;
19 } 19 }
20 20
21 namespace headless { 21 namespace headless {
22 namespace runtime { 22 namespace runtime {
23 class EvaluateResult; 23 class EvaluateResult;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 void RunTest(); 111 void RunTest();
112 112
113 HeadlessBrowserContext* browser_context_; // Not owned. 113 HeadlessBrowserContext* browser_context_; // Not owned.
114 HeadlessWebContents* web_contents_; 114 HeadlessWebContents* web_contents_;
115 std::unique_ptr<HeadlessDevToolsClient> devtools_client_; 115 std::unique_ptr<HeadlessDevToolsClient> devtools_client_;
116 }; 116 };
117 117
118 } // namespace headless 118 } // namespace headless
119 119
120 #endif // HEADLESS_TEST_HEADLESS_BROWSER_TEST_H_ 120 #endif // HEADLESS_TEST_HEADLESS_BROWSER_TEST_H_
OLDNEW
« no previous file with comments | « headless/public/util/dom_tree_extractor_browsertest.cc ('k') | headless/test/headless_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698