| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/embedded_worker_devtools_manager.h" | 5 #include "content/browser/devtools/embedded_worker_devtools_manager.h" |
| 6 | 6 |
| 7 #include "content/browser/devtools/devtools_manager_impl.h" | |
| 8 #include "content/browser/devtools/devtools_protocol.h" | 7 #include "content/browser/devtools/devtools_protocol.h" |
| 9 #include "content/browser/devtools/devtools_protocol_constants.h" | 8 #include "content/browser/devtools/devtools_protocol_constants.h" |
| 10 #include "content/browser/devtools/embedded_worker_devtools_agent_host.h" | 9 #include "content/browser/devtools/embedded_worker_devtools_agent_host.h" |
| 11 #include "content/browser/devtools/ipc_devtools_agent_host.h" | 10 #include "content/browser/devtools/ipc_devtools_agent_host.h" |
| 12 #include "content/browser/shared_worker/shared_worker_instance.h" | 11 #include "content/browser/shared_worker/shared_worker_instance.h" |
| 13 #include "content/common/devtools_messages.h" | 12 #include "content/common/devtools_messages.h" |
| 14 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 15 #include "content/public/browser/render_process_host.h" | 14 #include "content/public/browser/render_process_host.h" |
| 16 #include "content/public/browser/worker_service.h" | 15 #include "content/public/browser/worker_service.h" |
| 17 #include "ipc/ipc_listener.h" | 16 #include "ipc/ipc_listener.h" |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 agent_host->WorkerRestarted(id); | 201 agent_host->WorkerRestarted(id); |
| 203 workers_.erase(it); | 202 workers_.erase(it); |
| 204 workers_[id] = agent_host; | 203 workers_[id] = agent_host; |
| 205 } | 204 } |
| 206 | 205 |
| 207 void EmbeddedWorkerDevToolsManager::ResetForTesting() { | 206 void EmbeddedWorkerDevToolsManager::ResetForTesting() { |
| 208 workers_.clear(); | 207 workers_.clear(); |
| 209 } | 208 } |
| 210 | 209 |
| 211 } // namespace content | 210 } // namespace content |
| OLD | NEW |