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

Issue 16948012: This adds a recovery mode to the diagnostics (Closed)

Created:
7 years, 6 months ago by Greg Spencer (Chromium)
Modified:
7 years, 4 months ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews, stevenjb+watch_chromium.org, oshima+watch_chromium.org
Visibility:
Public.

Description

This adds a recovery mode to the diagnostics so that we can attempt to recover from a corrupted profile. Currently, the only recovery that is attempted is recovering from a corrupted NSS database on ChromeOS. (TBR'ing trivial OWNERS review for added switch constants in chromeos dir) TBR=stevenjb@chromium.org BUG=chromium:236093 TEST=ran against corrupted nss db files. Ran unit test. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216089

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Review changes #

Patch Set 3 : Fix test data location #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : Upload after merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+500 lines, -78 lines) Patch
M chrome/app/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 2 chunks +54 lines, -0 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_controller.h View 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/diagnostics/diagnostics_controller.cc View 2 chunks +20 lines, -2 lines 0 comments Download
A chrome/browser/diagnostics/diagnostics_controller_unittest.cc View 1 2 3 1 chunk +167 lines, -0 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_model.h View 3 chunks +22 lines, -4 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_model.cc View 1 2 3 4 5 3 chunks +48 lines, -4 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_model_unittest.cc View 3 chunks +51 lines, -40 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_test.h View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_test.cc View 2 chunks +18 lines, -1 line 0 comments Download
M chrome/browser/diagnostics/diagnostics_writer.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/diagnostics/diagnostics_writer.cc View 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/diagnostics/recon_diagnostics.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/diagnostics/recon_diagnostics.cc View 1 3 chunks +36 lines, -9 lines 0 comments Download
M chrome/browser/diagnostics/sqlite_diagnostics.cc View 1 9 chunks +46 lines, -13 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chromeos/chromeos_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/chromeos_constants.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Greg Spencer (Chromium)
7 years, 5 months ago (2013-07-24 22:38:05 UTC) #1
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/16948012/diff/35001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/16948012/diff/35001/chrome/app/chrome_main_delegate.cc#newcode472 chrome/app/chrome_main_delegate.cc:472: } shouldn't we return here? in what case it ...
7 years, 5 months ago (2013-07-25 19:40:55 UTC) #2
Greg Spencer (Chromium)
https://codereview.chromium.org/16948012/diff/35001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/16948012/diff/35001/chrome/app/chrome_main_delegate.cc#newcode472 chrome/app/chrome_main_delegate.cc:472: } On 2013/07/25 19:40:56, cpu wrote: > shouldn't we ...
7 years, 5 months ago (2013-07-26 18:51:30 UTC) #3
cpu_(ooo_6.6-7.5)
yeah it reads nicer. LGTM
7 years, 5 months ago (2013-07-26 21:30:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/16948012/60001
7 years, 4 months ago (2013-08-06 00:00:11 UTC) #5
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=156480
7 years, 4 months ago (2013-08-06 02:03:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/16948012/60001
7 years, 4 months ago (2013-08-06 15:36:51 UTC) #7
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=156738
7 years, 4 months ago (2013-08-06 16:38:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/16948012/99001
7 years, 4 months ago (2013-08-06 22:48:21 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/16948012/97002
7 years, 4 months ago (2013-08-06 22:57:42 UTC) #10
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-08-06 23:08:09 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gspencer@chromium.org/16948012/95003
7 years, 4 months ago (2013-08-06 23:15:26 UTC) #12
commit-bot: I haz the power
7 years, 4 months ago (2013-08-07 05:20:31 UTC) #13
Message was sent while issue was closed.
Change committed as 216089

Powered by Google App Engine
This is Rietveld 408576698