OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 MOJO_EDK_SYSTEM_NODE_CONTROLLER_H_ | 5 #ifndef MOJO_EDK_SYSTEM_NODE_CONTROLLER_H_ |
6 #define MOJO_EDK_SYSTEM_NODE_CONTROLLER_H_ | 6 #define MOJO_EDK_SYSTEM_NODE_CONTROLLER_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 #include <unordered_map> | 9 #include <unordered_map> |
10 #include <unordered_set> | 10 #include <unordered_set> |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 136 |
137 // NodeChannel::Delegate: | 137 // NodeChannel::Delegate: |
138 void OnAcceptChild(const ports::NodeName& from_node, | 138 void OnAcceptChild(const ports::NodeName& from_node, |
139 const ports::NodeName& parent_name, | 139 const ports::NodeName& parent_name, |
140 const ports::NodeName& token) override; | 140 const ports::NodeName& token) override; |
141 void OnAcceptParent(const ports::NodeName& from_node, | 141 void OnAcceptParent(const ports::NodeName& from_node, |
142 const ports::NodeName& token, | 142 const ports::NodeName& token, |
143 const ports::NodeName& child_name) override; | 143 const ports::NodeName& child_name) override; |
144 void OnAddBrokerClient(const ports::NodeName& from_node, | 144 void OnAddBrokerClient(const ports::NodeName& from_node, |
145 const ports::NodeName& client_name, | 145 const ports::NodeName& client_name, |
146 ScopedPlatformHandle process_handle) override; | 146 base::ProcessHandle process_handle) override; |
147 void OnBrokerClientAdded(const ports::NodeName& from_node, | 147 void OnBrokerClientAdded(const ports::NodeName& from_node, |
148 const ports::NodeName& client_name, | 148 const ports::NodeName& client_name, |
149 ScopedPlatformHandle broker_channel) override; | 149 ScopedPlatformHandle broker_channel) override; |
150 void OnAcceptBrokerClient(const ports::NodeName& from_node, | 150 void OnAcceptBrokerClient(const ports::NodeName& from_node, |
151 const ports::NodeName& broker_name, | 151 const ports::NodeName& broker_name, |
152 ScopedPlatformHandle broker_channel) override; | 152 ScopedPlatformHandle broker_channel) override; |
153 void OnPortsMessage(Channel::MessagePtr message) override; | 153 void OnPortsMessage(Channel::MessagePtr message) override; |
154 void OnRequestPortMerge(const ports::NodeName& from_node, | 154 void OnRequestPortMerge(const ports::NodeName& from_node, |
155 const ports::PortName& connector_port_name, | 155 const ports::PortName& connector_port_name, |
156 const std::string& token) override; | 156 const std::string& token) override; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 scoped_ptr<Broker> broker_; | 255 scoped_ptr<Broker> broker_; |
256 #endif | 256 #endif |
257 | 257 |
258 DISALLOW_COPY_AND_ASSIGN(NodeController); | 258 DISALLOW_COPY_AND_ASSIGN(NodeController); |
259 }; | 259 }; |
260 | 260 |
261 } // namespace edk | 261 } // namespace edk |
262 } // namespace mojo | 262 } // namespace mojo |
263 | 263 |
264 #endif // MOJO_EDK_SYSTEM_NODE_CONTROLLER_H_ | 264 #endif // MOJO_EDK_SYSTEM_NODE_CONTROLLER_H_ |
OLD | NEW |