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 "base/basictypes.h" | |
6 #include "base/location.h" | 5 #include "base/location.h" |
| 6 #include "base/macros.h" |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/thread_task_runner_handle.h" | 9 #include "base/thread_task_runner_handle.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "content/browser/devtools/devtools_manager.h" | 11 #include "content/browser/devtools/devtools_manager.h" |
12 #include "content/browser/devtools/shared_worker_devtools_manager.h" | 12 #include "content/browser/devtools/shared_worker_devtools_manager.h" |
13 #include "content/browser/shared_worker/shared_worker_instance.h" | 13 #include "content/browser/shared_worker/shared_worker_instance.h" |
14 #include "content/browser/shared_worker/worker_storage_partition.h" | 14 #include "content/browser/shared_worker/worker_storage_partition.h" |
15 #include "content/common/view_messages.h" | 15 #include "content/common/view_messages.h" |
16 #include "content/public/browser/browser_context.h" | 16 #include "content/public/browser/browser_context.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 TestDevToolsClientHost client_host; | 246 TestDevToolsClientHost client_host; |
247 client_host.InspectAgentHost(agent_host.get()); | 247 client_host.InspectAgentHost(agent_host.get()); |
248 agent_host->DispatchProtocolMessage("message1"); | 248 agent_host->DispatchProtocolMessage("message1"); |
249 agent_host->DispatchProtocolMessage("message2"); | 249 agent_host->DispatchProtocolMessage("message2"); |
250 agent_host->DispatchProtocolMessage("message2"); | 250 agent_host->DispatchProtocolMessage("message2"); |
251 | 251 |
252 client_host.Close(); | 252 client_host.Close(); |
253 } | 253 } |
254 | 254 |
255 } // namespace content | 255 } // namespace content |
OLD | NEW |