summaryrefslogtreecommitdiffstats
path: root/remoting/protocol/jingle_session.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-13 06:28:49 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-13 06:28:49 +0000
commitbc407e962efd421576e6dad7cefde22ef0439f38 (patch)
tree267bea43b45377b65f4128a73c1488f8165b8de7 /remoting/protocol/jingle_session.h
parent76e68448d44901e32e2166cb53677f132b7f2bd6 (diff)
downloadchromium_src-bc407e962efd421576e6dad7cefde22ef0439f38.zip
chromium_src-bc407e962efd421576e6dad7cefde22ef0439f38.tar.gz
chromium_src-bc407e962efd421576e6dad7cefde22ef0439f38.tar.bz2
Multi-step authentication support in JingleSession.
BUG=105214 Review URL: http://codereview.chromium.org/8774031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/jingle_session.h')
-rw-r--r--remoting/protocol/jingle_session.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h
index 4894216..1c8b2cb 100644
--- a/remoting/protocol/jingle_session.h
+++ b/remoting/protocol/jingle_session.h
@@ -74,14 +74,15 @@ class JingleSession : public protocol::Session,
bool InitializeConfigFromDescription(
const cricket::SessionDescription* description);
- // Used for Session.SignalState sigslot.
+ // Handlers for |cricket_session_| signals.
void OnSessionState(cricket::BaseSession* session,
cricket::BaseSession::State state);
- // Used for Session.SignalError sigslot.
void OnSessionError(cricket::BaseSession* session,
cricket::BaseSession::Error error);
- // Used for Session.SignalReceivedTerminateReason sigslot.
- void OnTerminateReason(cricket::Session* session, const std::string& reason);
+ void OnSessionInfoMessage(cricket::Session* session,
+ const buzz::XmlElement* message);
+ void OnTerminateReason(cricket::Session* session,
+ const std::string& reason);
void OnInitiate();
void OnAccept();
@@ -91,6 +92,8 @@ class JingleSession : public protocol::Session,
// accepts/rejects connection.
void AcceptConnection();
+ void ProcessAuthenticationStep();
+
void AddChannelConnector(const std::string& name,
JingleChannelConnector* connector);