Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: remoting/protocol/pepper_session.h

Issue 9366001: Implement support for route change notifications in the Transport interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/libjingle_transport_factory.cc ('k') | remoting/protocol/pepper_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « remoting/protocol/libjingle_transport_factory.cc ('k') | remoting/protocol/pepper_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698