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 #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 Loading... |
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_ |
OLD | NEW |