Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| diff --git a/third_party/WebKit/public/platform/WebMediaStreamTrack.h b/third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| index 419bc359298234420a46282e489065c78dfbe2c0..0e5d291e468626618482e4e598fdd84a91ac27e4 100644 |
| --- a/third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| +++ b/third_party/WebKit/public/platform/WebMediaStreamTrack.h |
| @@ -45,12 +45,21 @@ class WebMediaStreamTrack { |
| bool hasFrameRate() { return frameRate >= 0.0; } |
| bool hasWidth() { return width >= 0; } |
| bool hasHeight() { return height >= 0; } |
| + bool hasEchoCancellation() { return m_hasEchoCancellation; } |
| // The variables are read from |
| // MediaStreamTrack::GetSettings only. |
| double frameRate = -1.0; |
| long width = -1; |
| long height = -1; |
| WebString deviceId; |
| + bool echoCancellation = false; |
| + void setEchoCancellation(bool value) { |
| + m_hasEchoCancellation = true; |
| + echoCancellation = value; |
| + } |
| + |
| + private: |
| + bool m_hasEchoCancellation = false; |
|
Guido Urdaneta
2017/01/19 15:28:06
Given that this has private fields now, change to
|
| }; |
| class TrackData { |