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

Issue 2625003003: Replace ASSERT(false) by RTC_NOTREACHED(). (Closed)

Created:
3 years, 11 months ago by nisse-webrtc
Modified:
3 years, 11 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace ASSERT(false) by RTC_NOTREACHED(). This cl was produced by git grep -l 'ASSERT(false)' |\ xargs -n1 sed -i 's/ASSERT(false)/RTC_NOTREACHED()/' followed by additional includes of base/checks.h in affected files, git cl format to adjust spacing in webrtc/base/transformadapter.cc. Finally, to make presubmit happy, one unnamed TODO marker was deleted in that file. This is a step towards deletion of base/common.h. BUG=webrtc:6424 Review-Url: https://codereview.webrtc.org/2625003003 Cr-Commit-Position: refs/heads/master@{#16009} Committed: https://chromium.googlesource.com/external/webrtc/+/c80e741ad0ab8348a45eddd451e95607689b6c22

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+156 lines, -126 lines) Patch
M webrtc/api/dtmfsender.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/api/peerconnection.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/test/fakeaudiocapturemodule.cc View 19 chunks +54 lines, -54 lines 0 comments Download
M webrtc/api/webrtcsdp.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/api/webrtcsdp_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/webrtcsession.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/webrtcsessiondescriptionfactory.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/autodetectproxy.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/diskcache.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/httpbase.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/base/httpclient.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/httpserver.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/nethelpers.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/network.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/physicalsocketserver.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/base/signalthread.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/socketadapters.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/socketpool.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/stream.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M webrtc/base/transformadapter.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/base/win32filesystem.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/base/win32socketserver.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/examples/peerconnection/client/conductor.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/examples/peerconnection/client/main.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/dtlstransportchannel.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M webrtc/p2p/base/port.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/port.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M webrtc/p2p/base/pseudotcp.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/p2p/base/relayserver.cc View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/p2p/base/stunport.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/transportcontroller.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/client/basicportallocator.cc View 5 chunks +5 lines, -5 lines 0 comments Download
M webrtc/pc/mediasession.cc View 5 chunks +5 lines, -4 lines 0 comments Download
M webrtc/sdk/android/src/jni/androidnetworkmonitor_jni.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (8 generated)
nisse-webrtc
3 years, 11 months ago (2017-01-11 12:14:43 UTC) #4
kwiberg-webrtc
lgtm Thanks for taking the time to split this up into readable chunks!
3 years, 11 months ago (2017-01-11 12:37:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2625003003/1
3 years, 11 months ago (2017-01-11 13:54:22 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 13:56:50 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/c80e741ad0ab8348a45eddd45...

Powered by Google App Engine
This is Rietveld 408576698