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

Issue 424833008: adds restart message and link to crash reporting setting (Closed)

Created:
6 years, 4 months ago by luken
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

adds restart message and link to crash reporting setting When the user disables or enables crash reporting in the settings menu this CL adds a restart message very similar to the hardware acceleration setting also in the setting menu. It also clears the Breakpad pipe environment variable when the user is disabling crash reporting, so that the restarted Chrome, which inherits the current environment variable, won't be able to connect to the crash handler service and report crashes. BUG=380700 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287110

Patch Set 1 #

Patch Set 2 : removes breakpad env var #

Total comments: 3

Patch Set 3 : removing html from grd #

Total comments: 2

Patch Set 4 : fix nit #

Total comments: 2

Patch Set 5 : moving spanbuttonspan to html #

Total comments: 2

Patch Set 6 : removed ids from html elements #

Total comments: 2

Patch Set 7 : remove errant comment block #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -1 line) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 5 chunks +26 lines, -1 line 0 comments Download
M components/breakpad/app/breakpad_win.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
luken
6 years, 4 months ago (2014-07-29 19:20:50 UTC) #1
Evan Stade
https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd#newcode11827 chrome/app/generated_resources.grd:11827: + (requires Chrome <ph name="BEGIN_BUTTON">&lt;button id="metrics-reporting-reset-restart-button" type="button" class="link-button standalone-link-button"&gt;</ph>restart<ph ...
6 years, 4 months ago (2014-07-29 21:35:05 UTC) #2
luken
https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd#newcode11827 chrome/app/generated_resources.grd:11827: + (requires Chrome <ph name="BEGIN_BUTTON">&lt;button id="metrics-reporting-reset-restart-button" type="button" class="link-button standalone-link-button"&gt;</ph>restart<ph ...
6 years, 4 months ago (2014-07-29 21:37:27 UTC) #3
Evan Stade
On 2014/07/29 21:37:27, luken wrote: > https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd > File chrome/app/generated_resources.grd (right): > > https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd#newcode11827 > ...
6 years, 4 months ago (2014-07-29 21:46:39 UTC) #4
luken
On 2014/07/29 21:46:39, Evan Stade wrote: > On 2014/07/29 21:37:27, luken wrote: > > > ...
6 years, 4 months ago (2014-07-29 21:53:30 UTC) #5
luken
https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/424833008/diff/20001/chrome/app/generated_resources.grd#newcode11827 chrome/app/generated_resources.grd:11827: + (requires Chrome <ph name="BEGIN_BUTTON">&lt;button id="metrics-reporting-reset-restart-button" type="button" class="link-button standalone-link-button"&gt;</ph>restart<ph ...
6 years, 4 months ago (2014-07-29 23:37:53 UTC) #6
Sigurður Ásgeirsson
https://codereview.chromium.org/424833008/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): https://codereview.chromium.org/424833008/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode1527 chrome/browser/ui/webui/options/browser_options_handler.cc:1527: (clear)(); nit: wonky formatting and indent.
6 years, 4 months ago (2014-07-30 09:46:22 UTC) #7
luken
https://codereview.chromium.org/424833008/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc File chrome/browser/ui/webui/options/browser_options_handler.cc (right): https://codereview.chromium.org/424833008/diff/40001/chrome/browser/ui/webui/options/browser_options_handler.cc#newcode1527 chrome/browser/ui/webui/options/browser_options_handler.cc:1527: (clear)(); On 2014/07/30 09:46:22, Sigurður Ásgeirsson wrote: > nit: ...
6 years, 4 months ago (2014-07-30 17:57:09 UTC) #8
cpu_(ooo_6.6-7.5)
c++ bits lgtm
6 years, 4 months ago (2014-07-30 22:41:37 UTC) #9
Evan Stade
https://codereview.chromium.org/424833008/diff/60001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/424833008/diff/60001/chrome/browser/resources/options/browser_options.js#newcode366 chrome/browser/resources/options/browser_options.js:366: restartButton.setAttribute('class', restartButton.id = ... restartButton.className = ... but then ...
6 years, 4 months ago (2014-07-31 15:04:37 UTC) #10
luken
https://codereview.chromium.org/424833008/diff/60001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/424833008/diff/60001/chrome/browser/resources/options/browser_options.js#newcode366 chrome/browser/resources/options/browser_options.js:366: restartButton.setAttribute('class', On 2014/07/31 15:04:37, Evan Stade wrote: > restartButton.id ...
6 years, 4 months ago (2014-07-31 18:58:37 UTC) #11
Evan Stade
lgtm, thanks https://codereview.chromium.org/424833008/diff/80001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/424833008/diff/80001/chrome/browser/resources/options/browser_options.js#newcode362 chrome/browser/resources/options/browser_options.js:362: $('metrics-reporting-reset-restart-starting-text').textContent = nit: you don't need IDs ...
6 years, 4 months ago (2014-07-31 19:32:31 UTC) #12
luken
Siggi, can you PTAL? Thanks https://codereview.chromium.org/424833008/diff/80001/chrome/browser/resources/options/browser_options.js File chrome/browser/resources/options/browser_options.js (right): https://codereview.chromium.org/424833008/diff/80001/chrome/browser/resources/options/browser_options.js#newcode362 chrome/browser/resources/options/browser_options.js:362: $('metrics-reporting-reset-restart-starting-text').textContent = On 2014/07/31 ...
6 years, 4 months ago (2014-08-01 00:53:58 UTC) #13
Sigurður Ásgeirsson
lgtm as far as crash reporting is concerned. Alas the code is brittle to changes ...
6 years, 4 months ago (2014-08-01 09:04:58 UTC) #14
luken
It's a good point about the brittleness. I will talk to cpu@ about testing strategies, ...
6 years, 4 months ago (2014-08-01 15:45:47 UTC) #15
luken
The CQ bit was checked by luken@chromium.org
6 years, 4 months ago (2014-08-01 16:08:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/luken@chromium.org/424833008/120001
6 years, 4 months ago (2014-08-01 16:11:27 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-01 22:41:38 UTC) #18
Message was sent while issue was closed.
Change committed as 287110

Powered by Google App Engine
This is Rietveld 408576698