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

Unified Diff: remoting/protocol/jingle_session.h

Issue 19765006: Merge 211558 "Allow transport candidates to arrive before the au..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1547/src/
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.h
===================================================================
--- remoting/protocol/jingle_session.h (revision 212457)
+++ remoting/protocol/jingle_session.h (working copy)
@@ -86,6 +86,9 @@
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 @@
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);
};
« no previous file with comments | « no previous file | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698