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

Side by Side Diff: remoting/protocol/ice_transport_factory.h

Issue 1420273002: Add TransportSession interface to prepare for WebRTC-based transport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/ice_transport_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_PROTOCOL_ICE_TRANSPORT_FACTORY_H_
6 #define REMOTING_PROTOCOL_ICE_TRANSPORT_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "remoting/protocol/network_settings.h"
10 #include "remoting/protocol/transport.h"
11
12 namespace cricket {
13 class HttpPortAllocatorBase;
14 } // namespace cricket
15
16 namespace remoting {
17
18 class SignalStrategy;
19
20 namespace protocol {
21
22 class LibjingleTransportFactory;
23
24 class IceTransportFactory : public TransportFactory {
25 public:
26 IceTransportFactory(
27 SignalStrategy* signal_strategy,
28 scoped_ptr<cricket::HttpPortAllocatorBase> port_allocator,
29 const NetworkSettings& network_settings,
30 TransportRole role);
31 ~IceTransportFactory() override;
32
33 // TransportFactory interface.
34 void PrepareTokens() override;
35 scoped_ptr<TransportSession> CreateTransportSession() override;
36
37 private:
38 scoped_ptr<LibjingleTransportFactory> libjingle_transport_factory_;
39
40 DISALLOW_COPY_AND_ASSIGN(IceTransportFactory);
41 };
42
43 } // namespace protocol
44 } // namespace remoting
45
46 #endif // REMOTING_PROTOCOL_ICE_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/ice_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698