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

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

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 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "content/browser/devtools/protocol/devtools_protocol_handler.h" 10 #include "content/browser/devtools/protocol/devtools_protocol_handler.h"
11 #include "content/browser/devtools/worker_devtools_manager.h" 11 #include "content/browser/devtools/service_worker_devtools_manager.h"
12 #include "content/public/browser/devtools_agent_host.h" 12 #include "content/public/browser/devtools_agent_host.h"
13 #include "content/public/browser/devtools_agent_host_client.h" 13 #include "content/public/browser/devtools_agent_host_client.h"
14 14
15 namespace content { 15 namespace content {
16 namespace devtools { 16 namespace devtools {
17 namespace service_worker { 17 namespace service_worker {
18 18
19 class ServiceWorkerHandler : public DevToolsAgentHostClient, 19 class ServiceWorkerHandler : public DevToolsAgentHostClient,
20 public WorkerDevToolsManager::Observer { 20 public ServiceWorkerDevToolsManager::Observer {
21 public: 21 public:
22 typedef DevToolsProtocolClient::Response Response; 22 typedef DevToolsProtocolClient::Response Response;
23 23
24 ServiceWorkerHandler(); 24 ServiceWorkerHandler();
25 ~ServiceWorkerHandler() override; 25 ~ServiceWorkerHandler() override;
26 26
27 void SetClient(scoped_ptr<Client> client); 27 void SetClient(scoped_ptr<Client> client);
28 void Detached(); 28 void Detached();
29 29
30 // Protocol 'service worker' domain implementation. 30 // Protocol 'service worker' domain implementation.
(...skipping 21 matching lines...) Expand all
52 AttachedHosts attached_hosts_; 52 AttachedHosts attached_hosts_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandler); 54 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerHandler);
55 }; 55 };
56 56
57 } // namespace service_worker 57 } // namespace service_worker
58 } // namespace devtools 58 } // namespace devtools
59 } // namespace content 59 } // namespace content
60 60
61 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_ 61 #endif // CONTENT_BROWSER_DEVTOOLS_PROTOCOL_SERVICE_WORKER_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_agent_host_impl.cc ('k') | content/browser/devtools/protocol/service_worker_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698