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/run_loop.h" | 7 #include "base/run_loop.h" |
7 #include "content/public/test/browser_test.h" | 8 #include "content/public/test/browser_test.h" |
8 #include "headless/lib/browser/headless_browser_context_impl.h" | 9 #include "headless/lib/browser/headless_browser_context_impl.h" |
9 #include "headless/lib/browser/headless_web_contents_impl.h" | 10 #include "headless/lib/browser/headless_web_contents_impl.h" |
10 #include "headless/public/devtools/domains/network.h" | 11 #include "headless/public/devtools/domains/network.h" |
11 #include "headless/public/devtools/domains/page.h" | 12 #include "headless/public/devtools/domains/page.h" |
12 #include "headless/public/headless_devtools_client.h" | 13 #include "headless/public/headless_devtools_client.h" |
13 #include "headless/public/util/expedited_dispatcher.h" | 14 #include "headless/public/util/expedited_dispatcher.h" |
14 #include "headless/public/util/generic_url_request_job.h" | 15 #include "headless/public/util/generic_url_request_job.h" |
15 #include "headless/public/util/url_fetcher.h" | 16 #include "headless/public/util/url_fetcher.h" |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 } | 253 } |
253 | 254 |
254 private: | 255 private: |
255 std::map<std::string, std::string> url_to_frame_id_; | 256 std::map<std::string, std::string> url_to_frame_id_; |
256 TestProtocolHandler* http_handler_; // NOT OWNED | 257 TestProtocolHandler* http_handler_; // NOT OWNED |
257 }; | 258 }; |
258 | 259 |
259 HEADLESS_ASYNC_DEVTOOLED_TEST_F(FrameIdTest); | 260 HEADLESS_ASYNC_DEVTOOLED_TEST_F(FrameIdTest); |
260 | 261 |
261 } // namespace headless | 262 } // namespace headless |
OLD | NEW |