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

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

Issue 2439403003: Refactor BlimpConnection to TCPConnection (Closed)
Patch Set: Added missing Engine Transport 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_
6 #define BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_
7
8 #include <memory>
9 #include <string>
10
11 #include "blimp/net/blimp_transport.h"
12 #include "net/base/ip_endpoint.h"
13
14 namespace blimp {
15
16 // Interface specific to engine transport on top of generic |BlimpTransport|.
17 class BlimpEngineTransport : public BlimpTransport {
Wez 2016/11/09 22:47:17 The GetLocalAddress() API only makes sense for an
perumaal 2016/11/10 02:05:05 I am reusing this for GRPC. Please see https://cod
18 public:
19 ~BlimpEngineTransport() override {}
20
21 // Obtains the local listening address.
22 virtual void GetLocalAddress(net::IPEndPoint* ip_address) const = 0;
23 };
24
25 } // namespace blimp
26
27 #endif // BLIMP_NET_BLIMP_ENGINE_TRANSPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698