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

Side by Side Diff: remoting/protocol/datagram_channel_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/connection_to_client_unittest.cc ('k') | remoting/protocol/fake_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ 5 #ifndef REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_
6 #define REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ 6 #define REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/memory/scoped_ptr.h"
11 12
12 namespace remoting { 13 namespace remoting {
13 namespace protocol { 14 namespace protocol {
14 15
15 class P2PDatagramSocket; 16 class P2PDatagramSocket;
16 17
17 class DatagramChannelFactory { 18 class DatagramChannelFactory {
18 public: 19 public:
19 typedef base::Callback<void(scoped_ptr<P2PDatagramSocket>)> 20 typedef base::Callback<void(scoped_ptr<P2PDatagramSocket>)>
20 ChannelCreatedCallback; 21 ChannelCreatedCallback;
(...skipping 18 matching lines...) Expand all
39 virtual ~DatagramChannelFactory() {} 40 virtual ~DatagramChannelFactory() {}
40 41
41 private: 42 private:
42 DISALLOW_COPY_AND_ASSIGN(DatagramChannelFactory); 43 DISALLOW_COPY_AND_ASSIGN(DatagramChannelFactory);
43 }; 44 };
44 45
45 } // namespace protocol 46 } // namespace protocol
46 } // namespace remoting 47 } // namespace remoting
47 48
48 #endif // REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_ 49 #endif // REMOTING_PROTOCOL_DATAGRAM_CHANNEL_FACTORY_H_
OLDNEW
« no previous file with comments | « remoting/protocol/connection_to_client_unittest.cc ('k') | remoting/protocol/fake_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698