| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 SignalStrategy* signal_strategy, | 44 SignalStrategy* signal_strategy, |
| 45 Listener* listener, | 45 Listener* listener, |
| 46 crypto::RSAPrivateKey* private_key, | 46 crypto::RSAPrivateKey* private_key, |
| 47 const std::string& certificate, | 47 const std::string& certificate, |
| 48 bool allow_nat_traversal) OVERRIDE; | 48 bool allow_nat_traversal) OVERRIDE; |
| 49 virtual Session* Connect( | 49 virtual Session* Connect( |
| 50 const std::string& host_jid, | 50 const std::string& host_jid, |
| 51 const std::string& host_public_key, | 51 const std::string& host_public_key, |
| 52 const std::string& client_token, | 52 const std::string& client_token, |
| 53 CandidateSessionConfig* config, | 53 CandidateSessionConfig* config, |
| 54 Session::StateChangeCallback* state_change_callback) OVERRIDE; | 54 const Session::StateChangeCallback& state_change_callback) OVERRIDE; |
| 55 virtual void Close() OVERRIDE; | 55 virtual void Close() OVERRIDE; |
| 56 | 56 |
| 57 void set_allow_local_ips(bool allow_local_ips); | 57 void set_allow_local_ips(bool allow_local_ips); |
| 58 | 58 |
| 59 // cricket::SessionClient interface. | 59 // cricket::SessionClient interface. |
| 60 virtual void OnSessionCreate(cricket::Session* cricket_session, | 60 virtual void OnSessionCreate(cricket::Session* cricket_session, |
| 61 bool received_initiate) OVERRIDE; | 61 bool received_initiate) OVERRIDE; |
| 62 virtual void OnSessionDestroy(cricket::Session* cricket_session) OVERRIDE; | 62 virtual void OnSessionDestroy(cricket::Session* cricket_session) OVERRIDE; |
| 63 | 63 |
| 64 virtual bool ParseContent(cricket::SignalingProtocol protocol, | 64 virtual bool ParseContent(cricket::SignalingProtocol protocol, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 ScopedRunnableMethodFactory<JingleSessionManager> task_factory_; | 123 ScopedRunnableMethodFactory<JingleSessionManager> task_factory_; |
| 124 | 124 |
| 125 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); | 125 DISALLOW_COPY_AND_ASSIGN(JingleSessionManager); |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } // namespace protocol | 128 } // namespace protocol |
| 129 } // namespace remoting | 129 } // namespace remoting |
| 130 | 130 |
| 131 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ | 131 #endif // REMOTING_PROTOCOL_JINGLE_SESSION_MANAGER_H_ |
| OLD | NEW |