Index: webrtc/p2p/base/sessiondescription.cc |
diff --git a/webrtc/p2p/base/sessiondescription.cc b/webrtc/p2p/base/sessiondescription.cc |
index 5320b0596ab47c86ba8398058364c12aa13b82a6..1e69c83e76243da6d0864025624435a2e12d2d01 100644 |
--- a/webrtc/p2p/base/sessiondescription.cc |
+++ b/webrtc/p2p/base/sessiondescription.cc |
@@ -132,6 +132,15 @@ void SessionDescription::AddContent(const std::string& name, |
contents_.push_back(ContentInfo(name, type, rejected, description)); |
} |
+void SessionDescription::AddContent(const std::string& name, |
+ const std::string& type, |
+ bool rejected, |
+ bool bundle_only, |
+ ContentDescription* description) { |
+ contents_.push_back( |
+ ContentInfo(name, type, rejected, bundle_only, description)); |
+} |
+ |
bool SessionDescription::RemoveContentByName(const std::string& name) { |
for (ContentInfos::iterator content = contents_.begin(); |
content != contents_.end(); ++content) { |