Index: third_party/WebKit/Source/platform/mediastream/RTCAnswerOptionsPlatform.h |
diff --git a/third_party/WebKit/Source/platform/mediastream/RTCAnswerOptionsPlatform.h b/third_party/WebKit/Source/platform/mediastream/RTCAnswerOptionsPlatform.h |
index 2e7cb73dc10eb49b0f5ab22886c44b7dface3c81..201cfb4718a5fcbd5fc966e9d8f45c156438ee4f 100644 |
--- a/third_party/WebKit/Source/platform/mediastream/RTCAnswerOptionsPlatform.h |
+++ b/third_party/WebKit/Source/platform/mediastream/RTCAnswerOptionsPlatform.h |
@@ -11,21 +11,27 @@ namespace blink { |
class RTCAnswerOptionsPlatform final : public GarbageCollected<RTCAnswerOptionsPlatform> { |
public: |
- static RTCAnswerOptionsPlatform* create(bool voiceActivityDetection) |
+ static RTCAnswerOptionsPlatform* create(int32_t offerToReceiveVideo, int32_t offerToReceiveAudio, bool voiceActivityDetection) |
{ |
- return new RTCAnswerOptionsPlatform(voiceActivityDetection); |
+ return new RTCAnswerOptionsPlatform(offerToReceiveVideo, offerToReceiveAudio, voiceActivityDetection); |
} |
+ int32_t offerToReceiveVideo() const { return m_offerToReceiveVideo; } |
+ int32_t offerToReceiveAudio() const { return m_offerToReceiveAudio; } |
bool voiceActivityDetection() const { return m_voiceActivityDetection; } |
DEFINE_INLINE_TRACE() {} |
private: |
- explicit RTCAnswerOptionsPlatform(bool voiceActivityDetection) |
- : m_voiceActivityDetection(voiceActivityDetection) |
+ explicit RTCAnswerOptionsPlatform(int32_t offerToReceiveVideo, int32_t offerToReceiveAudio, bool voiceActivityDetection) |
haraken
2016/06/13 14:39:08
Drop explicit.
Guido Urdaneta
2016/06/13 14:49:54
Done.
|
+ : m_offerToReceiveVideo(offerToReceiveVideo) |
+ , m_offerToReceiveAudio(offerToReceiveAudio) |
+ , m_voiceActivityDetection(voiceActivityDetection) |
{ |
} |
+ int32_t m_offerToReceiveVideo; |
+ int32_t m_offerToReceiveAudio; |
bool m_voiceActivityDetection; |
}; |