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

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

Issue 2811463002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/exported (Closed)
Patch Set: rebase Created 3 years, 8 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/peerconnection/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 : private_(options) {} 12 : private_(options) {}
13 13
14 void WebRTCAnswerOptions::Assign(const WebRTCAnswerOptions& other) { 14 void WebRTCAnswerOptions::Assign(const WebRTCAnswerOptions& other) {
15 private_ = other.private_; 15 private_ = other.private_;
16 } 16 }
17 17
18 void WebRTCAnswerOptions::Reset() { 18 void WebRTCAnswerOptions::Reset() {
19 private_.Reset(); 19 private_.Reset();
20 } 20 }
21 21
22 bool WebRTCAnswerOptions::VoiceActivityDetection() const { 22 bool WebRTCAnswerOptions::VoiceActivityDetection() const {
23 ASSERT(!private_.IsNull()); 23 DCHECK(!private_.IsNull());
24 return private_->VoiceActivityDetection(); 24 return private_->VoiceActivityDetection();
25 } 25 }
26 26
27 } // namespace blink 27 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698