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

Issue 465103002: Add InitializationStateDcheck, its base class, and their tests (Closed)

Created:
6 years, 4 months ago by Mark Mentovai
Modified:
6 years, 4 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

Add InitializationStateDcheck, its base class, and their tests. TEST=util_test InitializationState* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/21af17394033

Patch Set 1 #

Patch Set 2 : Put each macro in Doxygen’s PREDEFINED tag on its own line #

Total comments: 6

Patch Set 3 : Address review feedback #

Patch Set 4 : Rebase #

Patch Set 5 : Improve naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+508 lines, -0 lines) Patch
M crashpad.doxy View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A util/misc/initialization_state.h View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
A util/misc/initialization_state_dcheck.h View 1 2 3 4 1 chunk +181 lines, -0 lines 0 comments Download
A util/misc/initialization_state_dcheck.cc View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
A util/misc/initialization_state_dcheck_test.cc View 1 2 3 4 1 chunk +128 lines, -0 lines 0 comments Download
A util/misc/initialization_state_test.cc View 1 chunk +56 lines, -0 lines 0 comments Download
M util/util.gyp View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mark Mentovai
6 years, 4 months ago (2014-08-12 22:56:35 UTC) #1
Robert Sesek
https://codereview.chromium.org/465103002/diff/20001/util/misc/initialization_state.h File util/misc/initialization_state.h (right): https://codereview.chromium.org/465103002/diff/20001/util/misc/initialization_state.h#newcode38 util/misc/initialization_state.h:38: enum State : uint8_t { Is this necessary? Won't ...
6 years, 4 months ago (2014-08-13 20:13:37 UTC) #2
Mark Mentovai
I also changed this to require that a transition into the valid state can only ...
6 years, 4 months ago (2014-08-13 22:22:06 UTC) #3
Robert Sesek
LGTM
6 years, 4 months ago (2014-08-14 16:14:19 UTC) #4
Mark Mentovai
6 years, 4 months ago (2014-08-14 16:51:31 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 manually as 21af17394033 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698