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

Side by Side Diff: remoting/protocol/content_description.h

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 unified diff | Download patch
« no previous file with comments | « remoting/jingle_glue/xmpp_socket_adapter.cc ('k') | remoting/protocol/content_description.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ 5 #ifndef REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_
6 #define REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ 6 #define REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
(...skipping 13 matching lines...) Expand all
25 // This class also provides a type abstraction so that the Chromotocol Session 25 // This class also provides a type abstraction so that the Chromotocol Session
26 // interface does not need to depend on libjingle. 26 // interface does not need to depend on libjingle.
27 class ContentDescription : public cricket::ContentDescription { 27 class ContentDescription : public cricket::ContentDescription {
28 public: 28 public:
29 static const char kChromotingContentName[]; 29 static const char kChromotingContentName[];
30 30
31 ContentDescription(scoped_ptr<CandidateSessionConfig> config, 31 ContentDescription(scoped_ptr<CandidateSessionConfig> config,
32 scoped_ptr<buzz::XmlElement> authenticator_message); 32 scoped_ptr<buzz::XmlElement> authenticator_message);
33 virtual ~ContentDescription(); 33 virtual ~ContentDescription();
34 34
35 virtual ContentDescription* Copy() const OVERRIDE;
36
35 const CandidateSessionConfig* config() const { 37 const CandidateSessionConfig* config() const {
36 return candidate_config_.get(); 38 return candidate_config_.get();
37 } 39 }
38 40
39 const buzz::XmlElement* authenticator_message() const { 41 const buzz::XmlElement* authenticator_message() const {
40 return authenticator_message_.get(); 42 return authenticator_message_.get();
41 } 43 }
42 44
43 buzz::XmlElement* ToXml() const; 45 buzz::XmlElement* ToXml() const;
44 46
45 static ContentDescription* ParseXml(const buzz::XmlElement* element); 47 static ContentDescription* ParseXml(const buzz::XmlElement* element);
46 48
47 private: 49 private:
48 scoped_ptr<const CandidateSessionConfig> candidate_config_; 50 scoped_ptr<const CandidateSessionConfig> candidate_config_;
49 scoped_ptr<const buzz::XmlElement> authenticator_message_; 51 scoped_ptr<const buzz::XmlElement> authenticator_message_;
50 }; 52 };
51 53
52 } // namespace protocol 54 } // namespace protocol
53 } // namespace remoting 55 } // namespace remoting
54 56
55 #endif // REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ 57 #endif // REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_
OLDNEW
« no previous file with comments | « remoting/jingle_glue/xmpp_socket_adapter.cc ('k') | remoting/protocol/content_description.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698