OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/message_loop/message_loop.h" | 6 #include "base/message_loop/message_loop.h" |
7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "base/single_thread_task_runner.h" |
8 #include "content/public/test/browser_test.h" | 9 #include "content/public/test/browser_test.h" |
9 #include "headless/lib/browser/headless_browser_context_impl.h" | 10 #include "headless/lib/browser/headless_browser_context_impl.h" |
10 #include "headless/lib/browser/headless_web_contents_impl.h" | 11 #include "headless/lib/browser/headless_web_contents_impl.h" |
11 #include "headless/public/devtools/domains/network.h" | 12 #include "headless/public/devtools/domains/network.h" |
12 #include "headless/public/devtools/domains/page.h" | 13 #include "headless/public/devtools/domains/page.h" |
13 #include "headless/public/headless_devtools_client.h" | 14 #include "headless/public/headless_devtools_client.h" |
14 #include "headless/public/util/expedited_dispatcher.h" | 15 #include "headless/public/util/expedited_dispatcher.h" |
15 #include "headless/public/util/generic_url_request_job.h" | 16 #include "headless/public/util/generic_url_request_job.h" |
16 #include "headless/public/util/url_fetcher.h" | 17 #include "headless/public/util/url_fetcher.h" |
17 #include "headless/test/headless_browser_test.h" | 18 #include "headless/test/headless_browser_test.h" |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 } | 254 } |
254 | 255 |
255 private: | 256 private: |
256 std::map<std::string, std::string> url_to_frame_id_; | 257 std::map<std::string, std::string> url_to_frame_id_; |
257 TestProtocolHandler* http_handler_; // NOT OWNED | 258 TestProtocolHandler* http_handler_; // NOT OWNED |
258 }; | 259 }; |
259 | 260 |
260 HEADLESS_ASYNC_DEVTOOLED_TEST_F(FrameIdTest); | 261 HEADLESS_ASYNC_DEVTOOLED_TEST_F(FrameIdTest); |
261 | 262 |
262 } // namespace headless | 263 } // namespace headless |
OLD | NEW |