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

Unified Diff: remoting/protocol/content_description.cc

Issue 9600066: Roll libjingle to r124 and roll webrtc to 1888. (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 9 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/content_description.h ('k') | remoting/protocol/message_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/content_description.cc
===================================================================
--- remoting/protocol/content_description.cc (revision 126778)
+++ remoting/protocol/content_description.cc (working copy)
@@ -159,6 +159,14 @@
ContentDescription::~ContentDescription() { }
+ContentDescription* ContentDescription::Copy() const {
+ if (!candidate_config_.get() || !authenticator_message_.get()) {
+ return NULL;
+ }
+ scoped_ptr<XmlElement> message(new XmlElement(*authenticator_message_));
+ return new ContentDescription(candidate_config_->Clone(), message.Pass());
+}
+
// ToXml() creates content description for chromoting session. The
// description looks as follows:
// <description xmlns="google:remoting">
« no previous file with comments | « remoting/protocol/content_description.h ('k') | remoting/protocol/message_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698