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_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ | 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ |
6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ | 6 #define CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "ipc/ipc_listener.h" | 11 #include "ipc/ipc_listener.h" |
12 | 12 |
13 namespace IPC { | 13 namespace IPC { |
14 class Message; | 14 class Message; |
15 } | 15 } |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 class WebEmbeddedWorker; | 18 class WebEmbeddedWorker; |
19 class WebString; | |
20 } | 19 } |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 | 22 |
24 class EmbeddedWorkerDevToolsAgent : public IPC::Listener { | 23 class EmbeddedWorkerDevToolsAgent : public IPC::Listener { |
25 public: | 24 public: |
26 EmbeddedWorkerDevToolsAgent(blink::WebEmbeddedWorker* webworker, | 25 EmbeddedWorkerDevToolsAgent(blink::WebEmbeddedWorker* webworker, |
27 int route_id); | 26 int route_id); |
28 ~EmbeddedWorkerDevToolsAgent() override; | 27 ~EmbeddedWorkerDevToolsAgent() override; |
29 | 28 |
(...skipping 12 matching lines...) Expand all Loading... |
42 | 41 |
43 blink::WebEmbeddedWorker* webworker_; | 42 blink::WebEmbeddedWorker* webworker_; |
44 int route_id_; | 43 int route_id_; |
45 | 44 |
46 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsAgent); | 45 DISALLOW_COPY_AND_ASSIGN(EmbeddedWorkerDevToolsAgent); |
47 }; | 46 }; |
48 | 47 |
49 } // namespace content | 48 } // namespace content |
50 | 49 |
51 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ | 50 #endif // CONTENT_RENDERER_SERVICE_WORKER_EMBEDDED_WORKER_DEVTOOLS_AGENT_H_ |
OLD | NEW |