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

Issue 988063003: Define the Settings interface for a CrashReportDatabase and provide a Mac implementation. (Closed)

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

Description

Define the Settings interface for a CrashReportDatabase and provide a Mac implementation. R=mark@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/1a635e3a799c9c93b39d1a9f507b3c9eebbd873b

Patch Set 1 #

Total comments: 31

Patch Set 2 : Address comments #

Total comments: 6

Patch Set 3 : Drop plist, use binary #

Total comments: 48

Patch Set 4 : Address comments #

Total comments: 12

Patch Set 5 : #

Patch Set 6 : Sync #

Patch Set 7 : INITIALIZATION_STATE_DCHECK #

Total comments: 4

Patch Set 8 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -1 line) Patch
M client/client.gyp View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
M client/crash_report_database.h View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M client/crash_report_database_mac.mm View 1 2 3 4 5 6 chunks +18 lines, -1 line 0 comments Download
M client/crash_report_database_win.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
A client/settings.h View 1 2 3 4 5 6 1 chunk +147 lines, -0 lines 0 comments Download
A client/settings.cc View 1 2 3 4 5 6 7 1 chunk +250 lines, -0 lines 0 comments Download
A client/settings_test.cc View 1 2 3 4 5 6 1 chunk +175 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (1 generated)
Robert Sesek
I didn't integrate the last upload time into CrashReportDatabase, because I can't test that until ...
5 years, 9 months ago (2015-03-08 03:29:49 UTC) #1
Mark Mentovai
This is a partial review but I wanted to give a quick turnaround. https://codereview.chromium.org/988063003/diff/1/client/crash_report_database.h File ...
5 years, 9 months ago (2015-03-08 05:21:56 UTC) #2
Robert Sesek
https://codereview.chromium.org/988063003/diff/1/client/crash_report_database.h File client/crash_report_database.h (right): https://codereview.chromium.org/988063003/diff/1/client/crash_report_database.h#newcode146 client/crash_report_database.h:146: //! \brief Returns the Settings object for this database. ...
5 years, 9 months ago (2015-03-08 22:15:37 UTC) #3
Mark Mentovai
https://codereview.chromium.org/988063003/diff/1/client/crash_report_database_mac.mm File client/crash_report_database_mac.mm (right): https://codereview.chromium.org/988063003/diff/1/client/crash_report_database_mac.mm#newcode527 client/crash_report_database_mac.mm:527: NSArray* paths = [[NSFileManager defaultManager] This talk of the ...
5 years, 9 months ago (2015-03-09 14:01:23 UTC) #4
Robert Sesek
Per offline discussion, switched from using a plist to a binary struct.
5 years, 9 months ago (2015-03-09 18:21:50 UTC) #6
Mark Mentovai
Probably for the better this way compared to the plist. https://codereview.chromium.org/988063003/diff/60001/client/client.gyp File client/client.gyp (right): https://codereview.chromium.org/988063003/diff/60001/client/client.gyp#newcode55 ...
5 years, 9 months ago (2015-03-09 19:12:36 UTC) #7
Robert Sesek
https://codereview.chromium.org/988063003/diff/60001/client/client.gyp File client/client.gyp (right): https://codereview.chromium.org/988063003/diff/60001/client/client.gyp#newcode55 client/client.gyp:55: # Port to Win: https://code.google.com/p/crashpad/issues/detail?id=13 On 2015/03/09 19:12:35, Mark ...
5 years, 9 months ago (2015-03-09 21:16:28 UTC) #8
Mark Mentovai
This looks really robust now. These comments are all minor. https://codereview.chromium.org/988063003/diff/60001/client/settings.cc File client/settings.cc (right): https://codereview.chromium.org/988063003/diff/60001/client/settings.cc#newcode51 ...
5 years, 9 months ago (2015-03-09 22:00:58 UTC) #9
Robert Sesek
PTAL https://codereview.chromium.org/988063003/diff/60001/client/settings.cc File client/settings.cc (right): https://codereview.chromium.org/988063003/diff/60001/client/settings.cc#newcode51 client/settings.cc:51: bool Settings::Initialize() { On 2015/03/09 22:00:57, Mark Mentovai ...
5 years, 9 months ago (2015-03-09 22:11:00 UTC) #10
Mark Mentovai
LGTM but the discussion continues… https://codereview.chromium.org/988063003/diff/60001/client/settings.cc File client/settings.cc (right): https://codereview.chromium.org/988063003/diff/60001/client/settings.cc#newcode51 client/settings.cc:51: bool Settings::Initialize() { Robert ...
5 years, 9 months ago (2015-03-09 22:26:29 UTC) #11
Mark Mentovai
LGTM https://codereview.chromium.org/988063003/diff/140001/client/settings.cc File client/settings.cc (right): https://codereview.chromium.org/988063003/diff/140001/client/settings.cc#newcode49 client/settings.cc:49: : file_path_(file_path) { , initialized_() https://codereview.chromium.org/988063003/diff/140001/client/settings_test.cc File client/settings_test.cc ...
5 years, 9 months ago (2015-03-09 22:41:34 UTC) #12
Robert Sesek
https://codereview.chromium.org/988063003/diff/140001/client/settings.cc File client/settings.cc (right): https://codereview.chromium.org/988063003/diff/140001/client/settings.cc#newcode49 client/settings.cc:49: : file_path_(file_path) { On 2015/03/09 22:41:34, Mark Mentovai wrote: ...
5 years, 9 months ago (2015-03-09 22:44:40 UTC) #13
Mark Mentovai
LGTM
5 years, 9 months ago (2015-03-09 22:45:24 UTC) #14
Robert Sesek
5 years, 9 months ago (2015-03-09 22:47:48 UTC) #15
Message was sent while issue was closed.
Committed patchset #8 (id:160001) manually as
1a635e3a799c9c93b39d1a9f507b3c9eebbd873b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698