Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Side by Side Diff: content/browser/devtools/embedded_worker_devtools_manager.cc

Issue 744683002: [DevTools] Used generated Worker.disconnectedFromWorker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/devtools/embedded_worker_devtools_agent_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.h" 7 #include "content/browser/devtools/devtools_manager.h"
8 #include "content/browser/devtools/devtools_protocol.h" 8 #include "content/browser/devtools/devtools_protocol.h"
9 #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"
18 17
19 namespace content { 18 namespace content {
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 workers_.erase(it); 197 workers_.erase(it);
199 workers_[id] = agent_host; 198 workers_[id] = agent_host;
200 DevToolsManager::GetInstance()->AgentHostChanged(agent_host); 199 DevToolsManager::GetInstance()->AgentHostChanged(agent_host);
201 } 200 }
202 201
203 void EmbeddedWorkerDevToolsManager::ResetForTesting() { 202 void EmbeddedWorkerDevToolsManager::ResetForTesting() {
204 workers_.clear(); 203 workers_.clear();
205 } 204 }
206 205
207 } // namespace content 206 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/embedded_worker_devtools_agent_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698