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

Issue 924673003: Add MinidumpCrashpadInfo::simple_annotations (Closed)

Created:
5 years, 10 months ago by Mark Mentovai
Modified:
5 years, 10 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Add MinidumpCrashpadInfo::simple_annotations. Some annotations will exist at a broader scope than per-module, which is the only place that annotations can currently be stored. The product name and version are not under the control of any module, but are established when the first Crashpad client establishes a handler. These annotations will be stored in a minidump’s MinidumpCrashpadInfo structure, which applies to the entire minidump. Within the snapshot interface, this data is carried within the “process” snapshot because it is the top-level structure in that family. Note that the data may not correspond directly with a process, however. TEST=minidump_test MinidumpCrashpadInfoWriter.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/a0f5dc62a489a582b22f9ad21a8380a52392bfbc

Patch Set 1 #

Patch Set 2 : Fix MSVC #

Total comments: 3

Patch Set 3 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+211 lines, -15 lines) Patch
M minidump/minidump_crashpad_info_writer.h View 3 chunks +13 lines, -0 lines 0 comments Download
M minidump/minidump_crashpad_info_writer.cc View 6 chunks +28 lines, -2 lines 0 comments Download
M minidump/minidump_crashpad_info_writer_test.cc View 1 9 chunks +90 lines, -11 lines 0 comments Download
M minidump/minidump_extensions.h View 1 chunk +9 lines, -0 lines 0 comments Download
M snapshot/mac/process_snapshot_mac.h View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M snapshot/mac/process_snapshot_mac.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M snapshot/module_snapshot.h View 1 chunk +6 lines, -2 lines 0 comments Download
M snapshot/process_snapshot.h View 1 2 2 chunks +28 lines, -0 lines 0 comments Download
M snapshot/test/test_process_snapshot.h View 1 2 4 chunks +9 lines, -0 lines 0 comments Download
M snapshot/test/test_process_snapshot.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Mark Mentovai
5 years, 10 months ago (2015-02-17 19:31:55 UTC) #2
Robert Sesek
https://codereview.chromium.org/924673003/diff/20001/snapshot/process_snapshot.h File snapshot/process_snapshot.h (right): https://codereview.chromium.org/924673003/diff/20001/snapshot/process_snapshot.h#newcode96 snapshot/process_snapshot.h:96: virtual std::map<std::string, std::string> AnnotationsSimpleMap() const = 0; This could ...
5 years, 10 months ago (2015-02-17 22:20:36 UTC) #3
Mark Mentovai
https://codereview.chromium.org/924673003/diff/20001/snapshot/process_snapshot.h File snapshot/process_snapshot.h (right): https://codereview.chromium.org/924673003/diff/20001/snapshot/process_snapshot.h#newcode96 snapshot/process_snapshot.h:96: virtual std::map<std::string, std::string> AnnotationsSimpleMap() const = 0; Robert Sesek ...
5 years, 10 months ago (2015-02-17 22:22:01 UTC) #4
Robert Sesek
https://codereview.chromium.org/924673003/diff/20001/snapshot/process_snapshot.h File snapshot/process_snapshot.h (right): https://codereview.chromium.org/924673003/diff/20001/snapshot/process_snapshot.h#newcode96 snapshot/process_snapshot.h:96: virtual std::map<std::string, std::string> AnnotationsSimpleMap() const = 0; On 2015/02/17 ...
5 years, 10 months ago (2015-02-17 22:23:14 UTC) #5
Mark Mentovai
Updated. Added a comment explaining the situation so that we don’t get stuck with a ...
5 years, 10 months ago (2015-02-17 22:33:48 UTC) #6
Robert Sesek
LGTM, seems reasonable.
5 years, 10 months ago (2015-02-17 22:34:39 UTC) #7
Mark Mentovai
5 years, 10 months ago (2015-02-17 22:38:07 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
a0f5dc62a489a582b22f9ad21a8380a52392bfbc (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698