Index: remoting/protocol/content_description.h |
diff --git a/remoting/protocol/content_description.h b/remoting/protocol/content_description.h |
index f12582f9797f2942532ce601b8db69255492e856..319d87593dcc4eefcbd200e583d50f547ed3bd03 100644 |
--- a/remoting/protocol/content_description.h |
+++ b/remoting/protocol/content_description.h |
@@ -19,7 +19,7 @@ namespace remoting { |
namespace protocol { |
// ContentDescription used for chromoting sessions. It contains the information |
-// from the content description stanza in the session intialization handshake. |
+// from the content description stanza in the session initialization handshake. |
// |
// This class also provides a type abstraction so that the Chromotocol Session |
// interface does not need to depend on libjingle. |
@@ -28,7 +28,8 @@ class ContentDescription { |
static const char kChromotingContentName[]; |
ContentDescription(scoped_ptr<CandidateSessionConfig> config, |
- scoped_ptr<buzz::XmlElement> authenticator_message); |
+ scoped_ptr<buzz::XmlElement> authenticator_message, |
+ const std::string& quic_config_message); |
~ContentDescription(); |
const CandidateSessionConfig* config() const { |
@@ -39,6 +40,10 @@ class ContentDescription { |
return authenticator_message_.get(); |
} |
+ const std::string& quic_config_message() const { |
+ return quic_config_message_; |
+ } |
+ |
buzz::XmlElement* ToXml() const; |
static scoped_ptr<ContentDescription> ParseXml( |
@@ -47,6 +52,7 @@ class ContentDescription { |
private: |
scoped_ptr<const CandidateSessionConfig> candidate_config_; |
scoped_ptr<const buzz::XmlElement> authenticator_message_; |
+ std::string quic_config_message_; |
static bool ParseChannelConfigs(const buzz::XmlElement* const element, |
const char tag_name[], |