OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/browser/devtools/devtools_manager.h" | 5 #include "content/browser/devtools/devtools_manager.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/guid.h" | 9 #include "base/guid.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/message_loop/message_loop.h" |
12 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
13 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
14 #include "base/threading/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "content/browser/devtools/shared_worker_devtools_manager.h" | 17 #include "content/browser/devtools/shared_worker_devtools_manager.h" |
17 #include "content/browser/shared_worker/shared_worker_instance.h" | 18 #include "content/browser/shared_worker/shared_worker_instance.h" |
18 #include "content/browser/shared_worker/worker_storage_partition.h" | 19 #include "content/browser/shared_worker/worker_storage_partition.h" |
19 #include "content/common/view_messages.h" | 20 #include "content/common/view_messages.h" |
20 #include "content/public/browser/browser_context.h" | 21 #include "content/public/browser/browser_context.h" |
21 #include "content/public/browser/content_browser_client.h" | 22 #include "content/public/browser/content_browser_client.h" |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 TestDevToolsClientHost client_host; | 269 TestDevToolsClientHost client_host; |
269 client_host.InspectAgentHost(agent_host.get()); | 270 client_host.InspectAgentHost(agent_host.get()); |
270 agent_host->DispatchProtocolMessage(&client_host, "message1"); | 271 agent_host->DispatchProtocolMessage(&client_host, "message1"); |
271 agent_host->DispatchProtocolMessage(&client_host, "message2"); | 272 agent_host->DispatchProtocolMessage(&client_host, "message2"); |
272 agent_host->DispatchProtocolMessage(&client_host, "message2"); | 273 agent_host->DispatchProtocolMessage(&client_host, "message2"); |
273 | 274 |
274 client_host.Close(); | 275 client_host.Close(); |
275 } | 276 } |
276 | 277 |
277 } // namespace content | 278 } // namespace content |
OLD | NEW |