| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "config.h" | 5 #include "config.h" |
| 6 #include "public/platform/WebRTCOfferOptions.h" | 6 #include "public/platform/WebRTCOfferOptions.h" |
| 7 | 7 |
| 8 #include "platform/mediastream/RTCOfferOptions.h" | 8 #include "platform/mediastream/RTCOfferOptions.h" |
| 9 | 9 |
| 10 using namespace blink; | |
| 11 | |
| 12 namespace blink { | 10 namespace blink { |
| 13 | 11 |
| 14 WebRTCOfferOptions::WebRTCOfferOptions(const PassRefPtr<RTCOfferOptions>& option
s) | 12 WebRTCOfferOptions::WebRTCOfferOptions(const PassRefPtr<RTCOfferOptions>& option
s) |
| 15 : m_private(options) | 13 : m_private(options) |
| 16 { | 14 { |
| 17 } | 15 } |
| 18 | 16 |
| 19 void WebRTCOfferOptions::assign(const WebRTCOfferOptions& other) | 17 void WebRTCOfferOptions::assign(const WebRTCOfferOptions& other) |
| 20 { | 18 { |
| 21 m_private = other.m_private; | 19 m_private = other.m_private; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 44 return m_private->voiceActivityDetection(); | 42 return m_private->voiceActivityDetection(); |
| 45 } | 43 } |
| 46 | 44 |
| 47 bool WebRTCOfferOptions::iceRestart() const | 45 bool WebRTCOfferOptions::iceRestart() const |
| 48 { | 46 { |
| 49 ASSERT(!isNull()); | 47 ASSERT(!isNull()); |
| 50 return m_private->iceRestart(); | 48 return m_private->iceRestart(); |
| 51 } | 49 } |
| 52 | 50 |
| 53 } // namespace blink | 51 } // namespace blink |
| OLD | NEW |