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

Issue 8298016: Making some CHECK statements to NOTREACHED. (Closed)

Created:
9 years, 2 months ago by lipalani1
Modified:
9 years, 2 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), idana
Visibility:
Public.

Description

Convert some check statements to NOTREACHED to be on parity with the codebase that was before r104835 went in. BUG=100374, 100398 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105670

Patch Set 1 #

Total comments: 8

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 5

Patch Set 4 : Upload before commit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/engine/process_commit_response_command.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/sync/syncable/syncable.cc View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
lipalani1
This puts those statements in exactly the same state they were in before.
9 years, 2 months ago (2011-10-15 00:14:52 UTC) #1
akalin
http://codereview.chromium.org/8298016/diff/1/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc File chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc (right): http://codereview.chromium.org/8298016/diff/1/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc#newcode120 chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc:120: return false; maybe add NOTREACHED() so that it crashes ...
9 years, 2 months ago (2011-10-15 00:21:24 UTC) #2
lipalani1
notreached is a good idea. implemented it. PTAL. http://codereview.chromium.org/8298016/diff/1/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc File chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc (right): http://codereview.chromium.org/8298016/diff/1/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc#newcode120 chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc:120: return ...
9 years, 2 months ago (2011-10-15 00:36:31 UTC) #3
akalin
Change subject and description to indicate that you're converting CHECKs to NOTREACHEDs http://codereview.chromium.org/8298016/diff/5001/chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc File chrome/browser/sync/engine/build_and_process_conflict_sets_command.cc ...
9 years, 2 months ago (2011-10-15 01:19:43 UTC) #4
akalin
LGTM after the comments above
9 years, 2 months ago (2011-10-15 01:19:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8298016/4006
9 years, 2 months ago (2011-10-15 04:46:41 UTC) #6
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years, 2 months ago (2011-10-15 07:02:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lipalani@chromium.org/8298016/4006
9 years, 2 months ago (2011-10-15 08:29:14 UTC) #8
commit-bot: I haz the power
9 years, 2 months ago (2011-10-15 11:10:33 UTC) #9
The commit queue went berserk retrying too often for a
seemingly flaky test. Builder is mac_rel, revision is 105658, job name
was 8298016-4006 (retry) (retry) (retry) (retry).

Powered by Google App Engine
This is Rietveld 408576698