OLD | NEW |
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/p2p_socket.h" |
20 #include "remoting/protocol/session.h" | 21 #include "remoting/protocol/session.h" |
21 #include "remoting/protocol/session_config.h" | 22 #include "remoting/protocol/session_config.h" |
22 #include "remoting/protocol/transport.h" | 23 #include "remoting/protocol/transport.h" |
23 #include "remoting/signaling/iq_sender.h" | 24 #include "remoting/signaling/iq_sender.h" |
24 | 25 |
25 namespace net { | 26 namespace net { |
26 class Socket; | 27 class Socket; |
27 class StreamSocket; | 28 class StreamSocket; |
28 } // namespace net | 29 } // namespace net |
29 | 30 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 192 |
192 base::WeakPtrFactory<JingleSession> weak_factory_; | 193 base::WeakPtrFactory<JingleSession> weak_factory_; |
193 | 194 |
194 DISALLOW_COPY_AND_ASSIGN(JingleSession); | 195 DISALLOW_COPY_AND_ASSIGN(JingleSession); |
195 }; | 196 }; |
196 | 197 |
197 } // namespace protocol | 198 } // namespace protocol |
198 } // namespace remoting | 199 } // namespace remoting |
199 | 200 |
200 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_H_ | 201 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_H_ |
OLD | NEW |