Index: remoting/protocol/jingle_session.h |
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h |
index 5466d1d09c6747acf2b93b5e321c19acadeec524..189cb53c45fb2cabb4af82159c7cba4507942390 100644 |
--- a/remoting/protocol/jingle_session.h |
+++ b/remoting/protocol/jingle_session.h |
@@ -86,6 +86,9 @@ class JingleSession : public Session, |
scoped_ptr<Authenticator> authenticator, |
scoped_ptr<CandidateSessionConfig> config); |
+ // Adds to a new channel the remote candidates received before it was created. |
+ void AddPendingRemoteCandidates(Transport* channel, const std::string& name); |
+ |
// Called by JingleSessionManager for incoming connections. |
void InitializeIncomingConnection(const JingleMessage& initiate_message, |
scoped_ptr<Authenticator> authenticator); |
@@ -166,6 +169,9 @@ class JingleSession : public Session, |
base::OneShotTimer<JingleSession> transport_infos_timer_; |
std::list<JingleMessage::NamedCandidate> pending_candidates_; |
+ // Pending remote candidates, received before the local channels were created. |
+ std::list<JingleMessage::NamedCandidate> pending_remote_candidates_; |
+ |
DISALLOW_COPY_AND_ASSIGN(JingleSession); |
}; |