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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebRTCOfferOptions.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 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 "public/platform/WebRTCOfferOptions.h" 5 #include "public/platform/WebRTCOfferOptions.h"
6 6
7 #include "platform/peerconnection/RTCOfferOptionsPlatform.h" 7 #include "platform/peerconnection/RTCOfferOptionsPlatform.h"
8 8
9 namespace blink { 9 namespace blink {
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 void WebRTCOfferOptions::Assign(const WebRTCOfferOptions& other) { 23 void WebRTCOfferOptions::Assign(const WebRTCOfferOptions& other) {
24 private_ = other.private_; 24 private_ = other.private_;
25 } 25 }
26 26
27 void WebRTCOfferOptions::Reset() { 27 void WebRTCOfferOptions::Reset() {
28 private_.Reset(); 28 private_.Reset();
29 } 29 }
30 30
31 int32_t WebRTCOfferOptions::OfferToReceiveVideo() const { 31 int32_t WebRTCOfferOptions::OfferToReceiveVideo() const {
32 ASSERT(!IsNull()); 32 DCHECK(!IsNull());
33 return private_->OfferToReceiveVideo(); 33 return private_->OfferToReceiveVideo();
34 } 34 }
35 35
36 int32_t WebRTCOfferOptions::OfferToReceiveAudio() const { 36 int32_t WebRTCOfferOptions::OfferToReceiveAudio() const {
37 ASSERT(!IsNull()); 37 DCHECK(!IsNull());
38 return private_->OfferToReceiveAudio(); 38 return private_->OfferToReceiveAudio();
39 } 39 }
40 40
41 bool WebRTCOfferOptions::VoiceActivityDetection() const { 41 bool WebRTCOfferOptions::VoiceActivityDetection() const {
42 ASSERT(!IsNull()); 42 DCHECK(!IsNull());
43 return private_->VoiceActivityDetection(); 43 return private_->VoiceActivityDetection();
44 } 44 }
45 45
46 bool WebRTCOfferOptions::IceRestart() const { 46 bool WebRTCOfferOptions::IceRestart() const {
47 ASSERT(!IsNull()); 47 DCHECK(!IsNull());
48 return private_->IceRestart(); 48 return private_->IceRestart();
49 } 49 }
50 50
51 } // namespace blink 51 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698