Index: talk/media/base/fakemediaengine.h |
diff --git a/talk/media/base/fakemediaengine.h b/talk/media/base/fakemediaengine.h |
index bc454e5b9f243e22f6a5efaa210ca4eb0e95ff2c..ab0c5eb1ff53355261c732b923ac4c3a12560dc9 100644 |
--- a/talk/media/base/fakemediaengine.h |
+++ b/talk/media/base/fakemediaengine.h |
@@ -694,12 +694,10 @@ 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 { |
- return rtp_header_extensions_; |
- } |
+ RtpCapabilities GetCapabilities() const { return capabilities_; } |
void set_rtp_header_extensions( |
const std::vector<RtpHeaderExtension>& extensions) { |
- rtp_header_extensions_ = extensions; |
+ capabilities_.header_extensions = extensions; |
} |
protected: |
@@ -708,7 +706,7 @@ class FakeBaseEngine { |
// TODO(thaloun): Replace with explicit checks of before & after values. |
bool options_changed_; |
bool fail_create_channel_; |
- std::vector<RtpHeaderExtension> rtp_header_extensions_; |
+ RtpCapabilities capabilities_; |
}; |
class FakeVoiceEngine : public FakeBaseEngine { |