| 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_PEPPER_SESSION_H_ | 5 #ifndef REMOTING_PROTOCOL_PEPPER_SESSION_H_ |
| 6 #define REMOTING_PROTOCOL_PEPPER_SESSION_H_ | 6 #define REMOTING_PROTOCOL_PEPPER_SESSION_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 virtual const SessionConfig& config() OVERRIDE; | 53 virtual const SessionConfig& config() OVERRIDE; |
| 54 virtual void set_config(const SessionConfig& config) OVERRIDE; | 54 virtual void set_config(const SessionConfig& config) OVERRIDE; |
| 55 virtual void Close() OVERRIDE; | 55 virtual void Close() OVERRIDE; |
| 56 | 56 |
| 57 // Transport::EventHandler interface. | 57 // Transport::EventHandler interface. |
| 58 virtual void OnTransportCandidate( | 58 virtual void OnTransportCandidate( |
| 59 Transport* transport, | 59 Transport* transport, |
| 60 const cricket::Candidate& candidate) OVERRIDE; | 60 const cricket::Candidate& candidate) OVERRIDE; |
| 61 virtual void OnTransportRouteChange(Transport* transport, | 61 virtual void OnTransportRouteChange(Transport* transport, |
| 62 const TransportRoute& route) OVERRIDE; | 62 const TransportRoute& route) OVERRIDE; |
| 63 virtual void OnTransportReady(Transport* transport, |
| 64 bool ready) OVERRIDE; |
| 63 virtual void OnTransportDeleted(Transport* transport) OVERRIDE; | 65 virtual void OnTransportDeleted(Transport* transport) OVERRIDE; |
| 64 | 66 |
| 65 private: | 67 private: |
| 66 friend class JingleSessionManager; | 68 friend class JingleSessionManager; |
| 67 | 69 |
| 68 typedef std::map<std::string, Transport*> ChannelsMap; | 70 typedef std::map<std::string, Transport*> ChannelsMap; |
| 69 typedef base::Callback<void(JingleMessageReply::ErrorType)> ReplyCallback; | 71 typedef base::Callback<void(JingleMessageReply::ErrorType)> ReplyCallback; |
| 70 | 72 |
| 71 explicit JingleSession(JingleSessionManager* session_manager); | 73 explicit JingleSession(JingleSessionManager* session_manager); |
| 72 | 74 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 base::OneShotTimer<JingleSession> transport_infos_timer_; | 146 base::OneShotTimer<JingleSession> transport_infos_timer_; |
| 145 std::list<JingleMessage::NamedCandidate> pending_candidates_; | 147 std::list<JingleMessage::NamedCandidate> pending_candidates_; |
| 146 | 148 |
| 147 DISALLOW_COPY_AND_ASSIGN(JingleSession); | 149 DISALLOW_COPY_AND_ASSIGN(JingleSession); |
| 148 }; | 150 }; |
| 149 | 151 |
| 150 } // namespace protocol | 152 } // namespace protocol |
| 151 } // namespace remoting | 153 } // namespace remoting |
| 152 | 154 |
| 153 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_H_ | 155 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_H_ |
| OLD | NEW |