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 BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ | 5 #ifndef BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ |
6 #define BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ | 6 #define BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "blimp/common/assignment_options.h" |
11 #include "blimp/net/blimp_transport.h" | 12 #include "blimp/net/blimp_transport.h" |
12 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
13 | 14 |
14 namespace blimp { | 15 namespace blimp { |
15 | 16 |
16 // Interface specific to engine transport on top of generic |BlimpTransport|. | 17 // Interface specific to engine transport on top of generic |BlimpTransport|. |
17 class BlimpEngineTransport : public BlimpTransport { | 18 class BlimpEngineTransport : public BlimpTransport { |
18 public: | 19 public: |
19 ~BlimpEngineTransport() override {} | 20 ~BlimpEngineTransport() override {} |
20 | 21 |
21 // Obtains the local listening address. | 22 // Obtains the local listening address. |
22 virtual void GetLocalAddress(net::IPEndPoint* ip_address) const = 0; | 23 virtual void GetAssignmentOptions( |
| 24 AssignmentOptions* assignment_options) const = 0; |
23 }; | 25 }; |
24 | 26 |
25 } // namespace blimp | 27 } // namespace blimp |
26 | 28 |
27 #endif // BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ | 29 #endif // BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_ |
OLD | NEW |