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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebRTCAnswerOptions.cpp

Issue 2097563002: Split the mediastream module in Blink into mediastream and peerconnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DEPS file Created 4 years, 5 months 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 unified diff | Download patch
OLDNEW
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 #include "public/platform/WebRTCAnswerOptions.h" 5 #include "public/platform/WebRTCAnswerOptions.h"
6 6
7 #include "platform/mediastream/RTCAnswerOptionsPlatform.h" 7 #include "platform/peerconnection/RTCAnswerOptionsPlatform.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
11 WebRTCAnswerOptions::WebRTCAnswerOptions(RTCAnswerOptionsPlatform* options) 11 WebRTCAnswerOptions::WebRTCAnswerOptions(RTCAnswerOptionsPlatform* options)
12 : m_private(options) 12 : m_private(options)
13 { 13 {
14 } 14 }
15 15
16 void WebRTCAnswerOptions::assign(const WebRTCAnswerOptions& other) 16 void WebRTCAnswerOptions::assign(const WebRTCAnswerOptions& other)
17 { 17 {
18 m_private = other.m_private; 18 m_private = other.m_private;
19 } 19 }
20 20
21 void WebRTCAnswerOptions::reset() 21 void WebRTCAnswerOptions::reset()
22 { 22 {
23 m_private.reset(); 23 m_private.reset();
24 } 24 }
25 25
26 bool WebRTCAnswerOptions::voiceActivityDetection() const 26 bool WebRTCAnswerOptions::voiceActivityDetection() const
27 { 27 {
28 ASSERT(!m_private.isNull()); 28 ASSERT(!m_private.isNull());
29 return m_private->voiceActivityDetection(); 29 return m_private->voiceActivityDetection();
30 } 30 }
31 31
32 } // namespace blink 32 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698