OLD | NEW |
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 COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_AGENT_HOST_H_ | 5 #ifndef COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_AGENT_HOST_H_ |
6 #define COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_AGENT_HOST_H_ | 6 #define COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_AGENT_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "components/devtools_service/public/interfaces/devtools_service.mojom.h
" | 11 #include "components/devtools_service/public/interfaces/devtools_service.mojom.h
" |
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" | 12 #include "mojo/public/cpp/bindings/binding.h" |
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/callback.h" | 13 #include "mojo/public/cpp/bindings/callback.h" |
14 | 14 |
15 namespace devtools_service { | 15 namespace devtools_service { |
16 | 16 |
17 // DevToolsAgentHost represents a DevTools agent at the service side. | 17 // DevToolsAgentHost represents a DevTools agent at the service side. |
18 class DevToolsAgentHost : public DevToolsAgentClient { | 18 class DevToolsAgentHost : public DevToolsAgentClient { |
19 public: | 19 public: |
20 class Delegate { | 20 class Delegate { |
21 public: | 21 public: |
22 virtual ~Delegate() {} | 22 virtual ~Delegate() {} |
23 | 23 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 mojo::Binding<DevToolsAgentClient> binding_; | 60 mojo::Binding<DevToolsAgentClient> binding_; |
61 | 61 |
62 Delegate* delegate_; | 62 Delegate* delegate_; |
63 | 63 |
64 DISALLOW_COPY_AND_ASSIGN(DevToolsAgentHost); | 64 DISALLOW_COPY_AND_ASSIGN(DevToolsAgentHost); |
65 }; | 65 }; |
66 | 66 |
67 } // namespace devtools_service | 67 } // namespace devtools_service |
68 | 68 |
69 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_AGENT_HOST_H_ | 69 #endif // COMPONENTS_DEVTOOLS_SERVICE_DEVTOOLS_AGENT_HOST_H_ |
OLD | NEW |