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

Unified Diff: remoting/protocol/content_description.h

Issue 1277093006: Enable QUIC support in chromoting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_adapters
Patch Set: Created 5 years, 4 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/channel_dispatcher_base.cc ('k') | remoting/protocol/content_description.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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[],
« no previous file with comments | « remoting/protocol/channel_dispatcher_base.cc ('k') | remoting/protocol/content_description.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698