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

Issue 2033173002: Moving Breakpad Windows specific logic to lower layer. (Closed)

Created:
4 years, 6 months ago by dpapad
Modified:
4 years, 6 months ago
CC:
chromium-reviews, dbeam+watch-settings_chromium.org, michaelpg+watch-md-settings_chromium.org, stevenjb+watch-md-settings_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving Windows Breakpad restart logic to lower layer. Currently this logic needs to be copied and called every time chrome::AttemptRestart() is called. Moving it within chrome::AttemptRestart() allows it to be reused. Moreover, it seems that calling chrome::AttemptRestart() without the said logic (there are such occurrences), is not correct. This is in preparation of reducing the number of "Restart" codepaths in MD Settings. BUG=617830 Committed: https://crrev.com/615a9567426f289f43b9e3d614a646c59528ad93 Cr-Commit-Position: refs/heads/master@{#398195}

Patch Set 1 #

Patch Set 2 : More. #

Patch Set 3 : Fix visibility #

Patch Set 4 : Fix windows test. #

Total comments: 4

Patch Set 5 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -51 lines) Patch
M chrome/browser/lifetime/application_lifetime.cc View 1 2 3 4 4 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_accessor.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_iterator_unittest.cc View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/ui/webui/settings/system_handler.cc View 3 chunks +0 lines, -26 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
dpapad
4 years, 6 months ago (2016-06-02 22:46:51 UTC) #6
dpapad
4 years, 6 months ago (2016-06-02 22:48:02 UTC) #8
Sigurður Ásgeirsson
lgtm with a nit/request https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc#newcode205 chrome/browser/lifetime/application_lifetime.cc:205: typedef void (__cdecl *ClearBreakpadPipeEnvVar)(); these ...
4 years, 6 months ago (2016-06-06 13:40:01 UTC) #10
dpapad
https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc#newcode205 chrome/browser/lifetime/application_lifetime.cc:205: typedef void (__cdecl *ClearBreakpadPipeEnvVar)(); On 2016/06/06 at 13:40:01, Sigurður ...
4 years, 6 months ago (2016-06-06 17:09:45 UTC) #11
Lei Zhang
lgtm https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc#newcode198 chrome/browser/lifetime/application_lifetime.cc:198: // On Windows Breakpad will upload crash reports ...
4 years, 6 months ago (2016-06-06 22:56:16 UTC) #12
dpapad
https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc File chrome/browser/lifetime/application_lifetime.cc (right): https://codereview.chromium.org/2033173002/diff/60001/chrome/browser/lifetime/application_lifetime.cc#newcode198 chrome/browser/lifetime/application_lifetime.cc:198: // On Windows Breakpad will upload crash reports if ...
4 years, 6 months ago (2016-06-06 23:14:37 UTC) #13
Dan Beam
lgtm but can you add a BUG= for this?
4 years, 6 months ago (2016-06-07 00:20:50 UTC) #14
dpapad
On 2016/06/07 at 00:20:50, dbeam wrote: > lgtm but can you add a BUG= for ...
4 years, 6 months ago (2016-06-07 00:29:17 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2033173002/80001
4 years, 6 months ago (2016-06-07 00:39:03 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-07 02:11:02 UTC) #20
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 02:13:03 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/615a9567426f289f43b9e3d614a646c59528ad93
Cr-Commit-Position: refs/heads/master@{#398195}

Powered by Google App Engine
This is Rietveld 408576698