Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: blimp/net/blimp_engine_transport.h

Issue 2462183002: GRPC Stream implementation of HeliumStream
Patch Set: Fixed a few minor comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698