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/location.h" | 9 #include "base/location.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 #include "content/browser/devtools/shared_worker_devtools_manager.h" | 14 #include "content/browser/devtools/shared_worker_devtools_manager.h" |
15 #include "content/browser/shared_worker/shared_worker_instance.h" | 15 #include "content/browser/shared_worker/shared_worker_instance.h" |
16 #include "content/browser/shared_worker/worker_storage_partition.h" | 16 #include "content/browser/shared_worker/worker_storage_partition.h" |
17 #include "content/common/view_messages.h" | 17 #include "content/common/view_messages.h" |
18 #include "content/public/browser/browser_context.h" | 18 #include "content/public/browser/browser_context.h" |
19 #include "content/public/browser/content_browser_client.h" | 19 #include "content/public/browser/content_browser_client.h" |
20 #include "content/public/browser/devtools_agent_host.h" | 20 #include "content/public/browser/devtools_agent_host.h" |
21 #include "content/public/browser/devtools_external_agent_proxy.h" | 21 #include "content/public/browser/devtools_external_agent_proxy.h" |
22 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" | 22 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 TestDevToolsClientHost client_host; | 248 TestDevToolsClientHost client_host; |
249 client_host.InspectAgentHost(agent_host.get()); | 249 client_host.InspectAgentHost(agent_host.get()); |
250 agent_host->DispatchProtocolMessage("message1"); | 250 agent_host->DispatchProtocolMessage("message1"); |
251 agent_host->DispatchProtocolMessage("message2"); | 251 agent_host->DispatchProtocolMessage("message2"); |
252 agent_host->DispatchProtocolMessage("message2"); | 252 agent_host->DispatchProtocolMessage("message2"); |
253 | 253 |
254 client_host.Close(); | 254 client_host.Close(); |
255 } | 255 } |
256 | 256 |
257 } // namespace content | 257 } // namespace content |
OLD | NEW |