OLD | NEW |
1 // Copyright (c) 2011 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_MANAGER_H_ | 5 #ifndef REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ | 6 #define REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 scoped_ptr<cricket::PortAllocator> port_allocator_; | 109 scoped_ptr<cricket::PortAllocator> port_allocator_; |
110 cricket::HttpPortAllocator* http_port_allocator_; | 110 cricket::HttpPortAllocator* http_port_allocator_; |
111 scoped_ptr<cricket::SessionManager> cricket_session_manager_; | 111 scoped_ptr<cricket::SessionManager> cricket_session_manager_; |
112 scoped_ptr<JingleInfoRequest> jingle_info_request_; | 112 scoped_ptr<JingleInfoRequest> jingle_info_request_; |
113 scoped_ptr<JingleSignalingConnector> jingle_signaling_connector_; | 113 scoped_ptr<JingleSignalingConnector> jingle_signaling_connector_; |
114 | 114 |
115 bool closed_; | 115 bool closed_; |
116 | 116 |
117 std::list<JingleSession*> sessions_; | 117 std::list<JingleSession*> sessions_; |
118 | 118 |
119 ScopedRunnableMethodFactory<JingleSessionManager> task_factory_; | |
120 | |
121 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); | 119 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); |
122 }; | 120 }; |
123 | 121 |
124 } // namespace protocol | 122 } // namespace protocol |
125 } // namespace remoting | 123 } // namespace remoting |
126 | 124 |
127 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ | 125 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
OLD | NEW |