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

Unified Diff: talk/media/base/fakemediaengine.h

Issue 1486123002: Return a copy of the supported RTP header extensions instead of a reference. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: . Created 5 years 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 | « no previous file | talk/media/base/mediaengine.h » ('j') | talk/media/base/mediaengine.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/fakemediaengine.h
diff --git a/talk/media/base/fakemediaengine.h b/talk/media/base/fakemediaengine.h
index 6c97b4a8ab474690bd83dd70b1a618d7a34c6560..f0743ef2f49d7b75719518ed966976861fe7430a 100644
--- a/talk/media/base/fakemediaengine.h
+++ b/talk/media/base/fakemediaengine.h
@@ -698,7 +698,7 @@ class FakeBaseEngine {
fail_create_channel_(false) {}
void set_fail_create_channel(bool fail) { fail_create_channel_ = fail; }
- const std::vector<RtpHeaderExtension>& rtp_header_extensions() const {
+ std::vector<RtpHeaderExtension> SupportedRtpHeaderExtensions() const {
pthatcher1 2015/12/01 18:40:46 Can we please just skip right to what we want this
stefan-webrtc 2015/12/04 14:06:10 Done.
return rtp_header_extensions_;
}
void set_rtp_header_extensions(
« no previous file with comments | « no previous file | talk/media/base/mediaengine.h » ('j') | talk/media/base/mediaengine.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698