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

Side by Side Diff: content/browser/devtools/protocol/service_worker_handler.cc

Issue 985343002: DevTools: remove the WorkerDevToolsManager base - implementations are diverging. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments addressed. Created 5 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/protocol/service_worker_handler.h" 5 #include "content/browser/devtools/protocol/service_worker_handler.h"
6 6
7 #include "content/browser/devtools/service_worker_devtools_manager.h"
8 #include "content/public/browser/devtools_agent_host.h" 7 #include "content/public/browser/devtools_agent_host.h"
9 8
10 namespace content { 9 namespace content {
11 namespace devtools { 10 namespace devtools {
12 namespace service_worker { 11 namespace service_worker {
13 12
14 using Response = DevToolsProtocolClient::Response; 13 using Response = DevToolsProtocolClient::Response;
15 14
16 ServiceWorkerHandler::ServiceWorkerHandler() { 15 ServiceWorkerHandler::ServiceWorkerHandler() {
17 } 16 }
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 if (it == attached_hosts_.end()) 112 if (it == attached_hosts_.end())
114 return; 113 return;
115 client_->WorkerTerminated(WorkerTerminatedParams::Create()-> 114 client_->WorkerTerminated(WorkerTerminatedParams::Create()->
116 set_worker_id(host->GetId())); 115 set_worker_id(host->GetId()));
117 attached_hosts_.erase(it); 116 attached_hosts_.erase(it);
118 } 117 }
119 118
120 } // namespace service_worker 119 } // namespace service_worker
121 } // namespace devtools 120 } // namespace devtools
122 } // namespace content 121 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/devtools/protocol/service_worker_handler.h ('k') | content/browser/devtools/service_worker_devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698