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

Unified Diff: remoting/protocol/jingle_session.h

Issue 9271026: Add JingleSession::OnRouteChange(), and pass IP endpoint information to a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and fix nits. Created 8 years, 11 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 | « remoting/protocol/fake_session.cc ('k') | 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
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h
index 3230f572e065f633cf9340ced1d30b4ee35482fa..86a51255fff37196e50781d99b4a89b6aa4b65ef 100644
--- a/remoting/protocol/jingle_session.h
+++ b/remoting/protocol/jingle_session.h
@@ -30,6 +30,8 @@ class JingleSession : public protocol::Session,
// Session interface.
virtual void SetStateChangeCallback(
const StateChangeCallback& callback) OVERRIDE;
+ virtual void SetRouteChangeCallback(
+ const RouteChangeCallback& callback) OVERRIDE;
virtual Error error() OVERRIDE;
virtual void CreateStreamChannel(
const std::string& name,
@@ -104,6 +106,9 @@ class JingleSession : public protocol::Session,
void OnChannelConnectorFinished(const std::string& name,
JingleChannelConnector* connector);
+ void OnRouteChange(cricket::TransportChannel* channel,
+ const cricket::Candidate& candidate);
+
const cricket::ContentInfo* GetContentInfo() const;
void SetState(State new_state);
@@ -120,6 +125,7 @@ class JingleSession : public protocol::Session,
State state_;
StateChangeCallback state_change_callback_;
+ RouteChangeCallback route_change_callback_;
Error error_;
« no previous file with comments | « remoting/protocol/fake_session.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698