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

Issue 327853002: Move the CrashKeysWin class to a pair of files as first step. (Closed)

Created:
6 years, 6 months ago by Sigurður Ásgeirsson
Modified:
6 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Move CrashKeysWin to a separate file and add first tests. R=rsesek@chromium.org BUG=378916 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276854

Patch Set 1 : CrashKeysWin class re-potting #

Patch Set 2 : Merge refactor and testing back in. #

Total comments: 11

Patch Set 3 : Address Robert's comments. #

Total comments: 12

Patch Set 4 : Address Erik's comments. #

Total comments: 2

Patch Set 5 : Make breakpad_component target type conditional for IOS. #

Patch Set 6 : Fix logic reversal :/. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+491 lines, -239 lines) Patch
M components/breakpad.gypi View 1 2 3 4 5 3 chunks +68 lines, -30 lines 0 comments Download
M components/breakpad/app/breakpad_win.cc View 1 2 3 8 chunks +4 lines, -208 lines 0 comments Download
A components/breakpad/app/crash_keys_win.h View 1 2 3 1 chunk +75 lines, -0 lines 0 comments Download
A components/breakpad/app/crash_keys_win.cc View 1 2 3 1 chunk +194 lines, -0 lines 0 comments Download
A components/breakpad/app/crash_keys_win_unittest.cc View 1 2 3 1 chunk +145 lines, -0 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 37 (0 generated)
Sigurður Ásgeirsson
Hey Robert, please take a look. This should be a net zero change in functionality, ...
6 years, 6 months ago (2014-06-10 17:47:18 UTC) #1
Sigurður Ásgeirsson
Hey Erik, Robert, this should be a functional no-op, with just that little bit of ...
6 years, 6 months ago (2014-06-10 19:43:10 UTC) #2
Robert Sesek
Yay tests! https://codereview.chromium.org/327853002/diff/40001/components/breakpad/app/crash_keys_win.h File components/breakpad/app/crash_keys_win.h (right): https://codereview.chromium.org/327853002/diff/40001/components/breakpad/app/crash_keys_win.h#newcode3 components/breakpad/app/crash_keys_win.h:3: // found in the LICENSE file. nit: ...
6 years, 6 months ago (2014-06-10 21:14:14 UTC) #3
Sigurður Ásgeirsson
Thanks, PTAL? https://codereview.chromium.org/327853002/diff/40001/components/breakpad/app/crash_keys_win.h File components/breakpad/app/crash_keys_win.h (right): https://codereview.chromium.org/327853002/diff/40001/components/breakpad/app/crash_keys_win.h#newcode3 components/breakpad/app/crash_keys_win.h:3: // found in the LICENSE file. On ...
6 years, 6 months ago (2014-06-11 13:19:40 UTC) #4
erikwright (departed)
https://codereview.chromium.org/327853002/diff/100001/components/breakpad/app/breakpad_win.cc File components/breakpad/app/breakpad_win.cc (right): https://codereview.chromium.org/327853002/diff/100001/components/breakpad/app/breakpad_win.cc#newcode92 components/breakpad/app/breakpad_win.cc:92: const size_t kMaxDynamicEntries = 256; Are these two constants ...
6 years, 6 months ago (2014-06-11 13:27:48 UTC) #5
Sigurður Ásgeirsson
Thanks, hit me again? :) https://codereview.chromium.org/327853002/diff/100001/components/breakpad/app/breakpad_win.cc File components/breakpad/app/breakpad_win.cc (right): https://codereview.chromium.org/327853002/diff/100001/components/breakpad/app/breakpad_win.cc#newcode92 components/breakpad/app/breakpad_win.cc:92: const size_t kMaxDynamicEntries = ...
6 years, 6 months ago (2014-06-11 13:55:27 UTC) #6
erikwright (departed)
https://codereview.chromium.org/327853002/diff/120001/components/breakpad/app/crash_keys_win_unittest.cc File components/breakpad/app/crash_keys_win_unittest.cc (right): https://codereview.chromium.org/327853002/diff/120001/components/breakpad/app/crash_keys_win_unittest.cc#newcode21 components/breakpad/app/crash_keys_win_unittest.cc:21: class MockBreakpadClient : public BreakpadClient { GMock seems to ...
6 years, 6 months ago (2014-06-11 14:00:00 UTC) #7
Sigurður Ásgeirsson
I dunno - this seems a reasonable use for GMock here to mock out an ...
6 years, 6 months ago (2014-06-11 14:02:56 UTC) #8
Robert Sesek
https://codereview.chromium.org/327853002/diff/40001/components/breakpad/app/crash_keys_win_unittest.cc File components/breakpad/app/crash_keys_win_unittest.cc (right): https://codereview.chromium.org/327853002/diff/40001/components/breakpad/app/crash_keys_win_unittest.cc#newcode20 components/breakpad/app/crash_keys_win_unittest.cc:20: class TestingBreakpadClient : public BreakpadClient { On 2014/06/11 13:19:39, ...
6 years, 6 months ago (2014-06-11 14:48:05 UTC) #9
Robert Sesek
I don't have any problems with GMock. On 2014/06/11 14:02:56, Sigurður Ásgeirsson wrote: > I ...
6 years, 6 months ago (2014-06-11 14:48:49 UTC) #10
Sigurður Ásgeirsson
Thanks - looking good enough yet? https://codereview.chromium.org/327853002/diff/120001/components/breakpad/app/crash_keys_win_unittest.cc File components/breakpad/app/crash_keys_win_unittest.cc (right): https://codereview.chromium.org/327853002/diff/120001/components/breakpad/app/crash_keys_win_unittest.cc#newcode21 components/breakpad/app/crash_keys_win_unittest.cc:21: class MockBreakpadClient : ...
6 years, 6 months ago (2014-06-11 15:33:05 UTC) #11
Robert Sesek
Yes, LGTM. Didn't know if you were going to move the Mock into its own ...
6 years, 6 months ago (2014-06-11 15:33:54 UTC) #12
Sigurður Ásgeirsson
Oh, sorry - I hate reusing code until it's been used at least once :). ...
6 years, 6 months ago (2014-06-11 15:36:39 UTC) #13
Sigurður Ásgeirsson
The CQ bit was checked by siggi@chromium.org
6 years, 6 months ago (2014-06-11 15:36:56 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/327853002/120001
6 years, 6 months ago (2014-06-11 15:38:21 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:08:00 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 20:12:04 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/21823)
6 years, 6 months ago (2014-06-11 20:12:04 UTC) #18
Sigurður Ásgeirsson
The CQ bit was checked by siggi@chromium.org
6 years, 6 months ago (2014-06-11 20:14:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/327853002/120001
6 years, 6 months ago (2014-06-11 20:16:27 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 20:56:04 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 21:00:31 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/21846)
6 years, 6 months ago (2014-06-11 21:00:32 UTC) #23
Sigurður Ásgeirsson
The CQ bit was checked by siggi@chromium.org
6 years, 6 months ago (2014-06-11 23:12:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/327853002/120001
6 years, 6 months ago (2014-06-11 23:13:32 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-11 23:15:43 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-11 23:17:19 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/21948)
6 years, 6 months ago (2014-06-11 23:17:20 UTC) #28
Sigurður Ásgeirsson
The CQ bit was checked by siggi@chromium.org
6 years, 6 months ago (2014-06-12 13:15:35 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/327853002/120001
6 years, 6 months ago (2014-06-12 13:22:07 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 14:41:14 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 14:47:25 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/22141)
6 years, 6 months ago (2014-06-12 14:47:27 UTC) #33
erikwright (departed)
latest GYP changes LGTM
6 years, 6 months ago (2014-06-12 18:16:53 UTC) #34
Sigurður Ásgeirsson
The CQ bit was checked by siggi@chromium.org
6 years, 6 months ago (2014-06-12 18:44:21 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/siggi@chromium.org/327853002/200001
6 years, 6 months ago (2014-06-12 18:46:56 UTC) #36
commit-bot: I haz the power
6 years, 6 months ago (2014-06-12 23:51:47 UTC) #37
Message was sent while issue was closed.
Change committed as 276854

Powered by Google App Engine
This is Rietveld 408576698