| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 WebRTCAnswerOptions_h | 5 #ifndef WebRTCAnswerOptions_h |
| 6 #define WebRTCAnswerOptions_h | 6 #define WebRTCAnswerOptions_h |
| 7 | 7 |
| 8 #include "WebCommon.h" | 8 #include "WebCommon.h" |
| 9 #include "WebPrivatePtr.h" | 9 #include "WebPrivatePtr.h" |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 { | 21 { |
| 22 assign(other); | 22 assign(other); |
| 23 return *this; | 23 return *this; |
| 24 } | 24 } |
| 25 | 25 |
| 26 void assign(const WebRTCAnswerOptions&); | 26 void assign(const WebRTCAnswerOptions&); |
| 27 | 27 |
| 28 void reset(); | 28 void reset(); |
| 29 bool isNull() const { return m_private.isNull(); } | 29 bool isNull() const { return m_private.isNull(); } |
| 30 | 30 |
| 31 int32_t offerToReceiveVideo() const; |
| 32 int32_t offerToReceiveAudio() const; |
| 31 bool voiceActivityDetection() const; | 33 bool voiceActivityDetection() const; |
| 32 | 34 |
| 33 #if INSIDE_BLINK | 35 #if INSIDE_BLINK |
| 34 WebRTCAnswerOptions(RTCAnswerOptionsPlatform*); | 36 WebRTCAnswerOptions(RTCAnswerOptionsPlatform*); |
| 35 #endif | 37 #endif |
| 36 | 38 |
| 37 private: | 39 private: |
| 38 WebPrivatePtr<RTCAnswerOptionsPlatform> m_private; | 40 WebPrivatePtr<RTCAnswerOptionsPlatform> m_private; |
| 39 }; | 41 }; |
| 40 | 42 |
| 41 } // namespace blink | 43 } // namespace blink |
| 42 | 44 |
| 43 #endif // WebRTCAnswerOptions_h | 45 #endif // WebRTCAnswerOptions_h |
| OLD | NEW |