| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual const std::string& jid() OVERRIDE; | 56 virtual const std::string& jid() OVERRIDE; |
| 57 virtual const CandidateSessionConfig* candidate_config() OVERRIDE; | 57 virtual const CandidateSessionConfig* candidate_config() OVERRIDE; |
| 58 virtual const SessionConfig& config() OVERRIDE; | 58 virtual const SessionConfig& config() OVERRIDE; |
| 59 virtual void set_config(const SessionConfig& config) OVERRIDE; | 59 virtual void set_config(const SessionConfig& config) OVERRIDE; |
| 60 virtual void Close() OVERRIDE; | 60 virtual void Close() OVERRIDE; |
| 61 | 61 |
| 62 // Transport::EventHandler interface. | 62 // Transport::EventHandler interface. |
| 63 virtual void OnTransportCandidate( | 63 virtual void OnTransportCandidate( |
| 64 Transport* transport, | 64 Transport* transport, |
| 65 const cricket::Candidate& candidate) OVERRIDE; | 65 const cricket::Candidate& candidate) OVERRIDE; |
| 66 virtual void OnTransportRouteChange(Transport* transport, |
| 67 const TransportRoute& route) OVERRIDE; |
| 66 virtual void OnTransportDeleted(Transport* transport) OVERRIDE; | 68 virtual void OnTransportDeleted(Transport* transport) OVERRIDE; |
| 67 | 69 |
| 68 private: | 70 private: |
| 69 friend class PepperSessionManager; | 71 friend class PepperSessionManager; |
| 70 | 72 |
| 71 typedef std::map<std::string, Transport*> ChannelsMap; | 73 typedef std::map<std::string, Transport*> ChannelsMap; |
| 72 typedef base::Callback<void(JingleMessageReply::ErrorType)> ReplyCallback; | 74 typedef base::Callback<void(JingleMessageReply::ErrorType)> ReplyCallback; |
| 73 | 75 |
| 74 explicit PepperSession(PepperSessionManager* session_manager); | 76 explicit PepperSession(PepperSessionManager* session_manager); |
| 75 | 77 |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 base::OneShotTimer<PepperSession> transport_infos_timer_; | 145 base::OneShotTimer<PepperSession> transport_infos_timer_; |
| 144 std::list<cricket::Candidate> pending_candidates_; | 146 std::list<cricket::Candidate> pending_candidates_; |
| 145 | 147 |
| 146 DISALLOW_COPY_AND_ASSIGN(PepperSession); | 148 DISALLOW_COPY_AND_ASSIGN(PepperSession); |
| 147 }; | 149 }; |
| 148 | 150 |
| 149 } // namespace protocol | 151 } // namespace protocol |
| 150 } // namespace remoting | 152 } // namespace remoting |
| 151 | 153 |
| 152 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_H_ | 154 #endif // REMOTING_PROTOCOL_PEPPER_SESSION_H_ |
| OLD | NEW |