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 #ifndef CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ |
6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "content/browser/devtools/devtools_agent_host_impl.h" | 9 #include "content/browser/devtools/devtools_agent_host_impl.h" |
9 #include "ipc/ipc_listener.h" | 10 #include "ipc/ipc_listener.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 class BrowserContext; | 14 class BrowserContext; |
14 class DevToolsProtocolHandler; | 15 class DevToolsProtocolHandler; |
15 class SharedWorkerInstance; | 16 class SharedWorkerInstance; |
16 | 17 |
17 class WorkerDevToolsAgentHost : public DevToolsAgentHostImpl, | 18 class WorkerDevToolsAgentHost : public DevToolsAgentHostImpl, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 scoped_ptr<DevToolsProtocolHandler> protocol_handler_; | 68 scoped_ptr<DevToolsProtocolHandler> protocol_handler_; |
68 DevToolsMessageChunkProcessor chunk_processor_; | 69 DevToolsMessageChunkProcessor chunk_processor_; |
69 WorkerState state_; | 70 WorkerState state_; |
70 WorkerId worker_id_; | 71 WorkerId worker_id_; |
71 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsAgentHost); | 72 DISALLOW_COPY_AND_ASSIGN(WorkerDevToolsAgentHost); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace content | 75 } // namespace content |
75 | 76 |
76 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ | 77 #endif // CONTENT_BROWSER_DEVTOOLS_WORKER_DEVTOOLS_AGENT_HOST_H_ |
OLD | NEW |