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

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

Issue 1197853003: Add P2PDatagramSocket and P2PStreamSocket interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months 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_stream_socket.cc ('k') | remoting/protocol/jingle_session_unittest.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_JINGLE_SESSION_H_ 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_H_
6 #define REMOTING_PROTOCOL_JINGLE_SESSION_H_ 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 12
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
15 #include "crypto/rsa_private_key.h" 15 #include "crypto/rsa_private_key.h"
16 #include "net/base/completion_callback.h" 16 #include "net/base/completion_callback.h"
17 #include "remoting/protocol/authenticator.h" 17 #include "remoting/protocol/authenticator.h"
18 #include "remoting/protocol/datagram_channel_factory.h" 18 #include "remoting/protocol/datagram_channel_factory.h"
19 #include "remoting/protocol/jingle_messages.h" 19 #include "remoting/protocol/jingle_messages.h"
20 #include "remoting/protocol/session.h" 20 #include "remoting/protocol/session.h"
21 #include "remoting/protocol/session_config.h" 21 #include "remoting/protocol/session_config.h"
22 #include "remoting/protocol/transport.h" 22 #include "remoting/protocol/transport.h"
23 #include "remoting/signaling/iq_sender.h" 23 #include "remoting/signaling/iq_sender.h"
24 24
25 namespace net {
26 class Socket;
27 class StreamSocket;
28 } // namespace net
29
30 namespace remoting { 25 namespace remoting {
31 namespace protocol { 26 namespace protocol {
32 27
33 class SecureChannelFactory; 28 class SecureChannelFactory;
34 class ChannelMultiplexer; 29 class ChannelMultiplexer;
35 class JingleSessionManager; 30 class JingleSessionManager;
36 class PseudoTcpChannelFactory; 31 class PseudoTcpChannelFactory;
37 32
38 // JingleSessionManager and JingleSession implement the subset of the 33 // JingleSessionManager and JingleSession implement the subset of the
39 // Jingle protocol used in Chromoting. Instances of this class are 34 // Jingle protocol used in Chromoting. Instances of this class are
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 186
192 base::WeakPtrFactory<JingleSession> weak_factory_; 187 base::WeakPtrFactory<JingleSession> weak_factory_;
193 188
194 DISALLOW_COPY_AND_ASSIGN(JingleSession); 189 DISALLOW_COPY_AND_ASSIGN(JingleSession);
195 }; 190 };
196 191
197 } // namespace protocol 192 } // namespace protocol
198 } // namespace remoting 193 } // namespace remoting
199 194
200 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_H_ 195 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/protocol/fake_stream_socket.cc ('k') | remoting/protocol/jingle_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698