Index: webrtc/p2p/base/session.h |
diff --git a/webrtc/p2p/base/session.h b/webrtc/p2p/base/session.h |
index 79ccafd293a55c68eabc9c1a9a02737df42e2d9f..19ce3611b077b697990d2a932855bcaefe5852c1 100644 |
--- a/webrtc/p2p/base/session.h |
+++ b/webrtc/p2p/base/session.h |
@@ -238,6 +238,8 @@ class BaseSession : public sigslot::has_slots<>, |
// from local/remote_description(). Remove these functions and members. |
// Returns the XML namespace identifying the type of this session. |
const std::string& content_type() const { return content_type_; } |
+ // Returns the XML namespace identifying the transport used for this session. |
+ const std::string& transport_type() const { return transport_type_; } |
// Indicates whether we initiated this session. |
bool initiator() const { return initiator_; } |
@@ -443,6 +445,7 @@ class BaseSession : public sigslot::has_slots<>, |
PortAllocator* const port_allocator_; |
const std::string sid_; |
const std::string content_type_; |
+ const std::string transport_type_; |
bool initiator_; |
rtc::SSLIdentity* identity_; |
rtc::SSLProtocolVersion ssl_max_version_; |