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

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

Issue 1155703003: [DevTools] Inline IPCDevToolsAgentHost into subclasses. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months 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
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/service_worker_devtools_manager.h" 5 #include "content/browser/devtools/service_worker_devtools_manager.h"
6 6
7 #include "content/browser/devtools/ipc_devtools_agent_host.h"
8 #include "content/browser/devtools/service_worker_devtools_agent_host.h" 7 #include "content/browser/devtools/service_worker_devtools_agent_host.h"
9 #include "content/public/browser/browser_thread.h" 8 #include "content/public/browser/browser_thread.h"
10 #include "content/public/browser/render_process_host.h" 9 #include "content/public/browser/render_process_host.h"
11 #include "content/public/browser/worker_service.h" 10 #include "content/public/browser/worker_service.h"
12 #include "ipc/ipc_listener.h" 11 #include "ipc/ipc_listener.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 ServiceWorkerDevToolsManager::ServiceWorkerIdentifier::ServiceWorkerIdentifier( 15 ServiceWorkerDevToolsManager::ServiceWorkerIdentifier::ServiceWorkerIdentifier(
17 const ServiceWorkerContextCore* context, 16 const ServiceWorkerContextCore* context,
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 break; 175 break;
177 } 176 }
178 return it; 177 return it;
179 } 178 }
180 179
181 void ServiceWorkerDevToolsManager::ResetForTesting() { 180 void ServiceWorkerDevToolsManager::ResetForTesting() {
182 workers_.clear(); 181 workers_.clear();
183 } 182 }
184 183
185 } // namespace content 184 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/service_worker_devtools_agent_host.cc ('k') | content/browser/devtools/worker_devtools_agent_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698