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

Issue 62193002: Integrate UI and reset logic into AutomaticProfileResetter. (Closed)

Created:
7 years, 1 month ago by engedy
Modified:
7 years, 1 month ago
Reviewers:
MAD, Dan Beam, battre
Visibility:
Public.

Description

Integrate UI and reset logic into AutomaticProfileResetter. BUG=298036 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235309

Patch Set 1 : First draft. #

Total comments: 2

Patch Set 2 : Added unit tests, some other smaller changes. #

Total comments: 6

Patch Set 3 : Mostly done, apart from shutdown issues. #

Total comments: 4

Patch Set 4 : Reduced boilerplate in unit tests. #

Total comments: 10

Patch Set 5 : Addressed comments, rebased to ToT, heavy changes to address shutdown issues, unittest improvements. #

Patch Set 6 : Clean-up. #

Total comments: 2

Patch Set 7 : Nits, fix Win compile errors, handle WebUI special cases. #

Patch Set 8 : Fixed unittests on Chrome OS. #

Patch Set 9 : Rebase to ToT. #

Patch Set 10 : Fix Win compile error introduce by rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1308 lines, -400 lines) Patch
M chrome/browser/profile_resetter/automatic_profile_resetter.h View 1 2 3 4 5 6 5 chunks +117 lines, -8 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter.cc View 1 2 3 4 5 8 chunks +156 lines, -43 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h View 1 2 3 4 5 7 chunks +90 lines, -13 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc View 1 2 3 4 5 6 7 8 9 8 chunks +151 lines, -5 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc View 1 2 3 4 5 6 7 12 chunks +333 lines, -95 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_factory.cc View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc View 1 2 3 4 5 28 chunks +356 lines, -206 lines 0 comments Download
M chrome/browser/profile_resetter/profile_reset_global_error.h View 1 2 3 4 3 chunks +19 lines, -5 lines 0 comments Download
M chrome/browser/profile_resetter/profile_reset_global_error.cc View 1 2 3 4 5 chunks +50 lines, -18 lines 0 comments Download
M chrome/browser/ui/webui/options/reset_profile_settings_handler.h View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/reset_profile_settings_handler.cc View 1 2 3 4 5 6 6 chunks +26 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
engedy
Dan, Marc-André, Dominic: Please take a good look, with added focus on object lifetimes and ...
7 years, 1 month ago (2013-11-06 23:51:07 UTC) #1
Dan Beam
lgtm for c/b/ui/webui/ https://codereview.chromium.org/62193002/diff/60001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/62193002/diff/60001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode280 chrome/browser/profile_resetter/automatic_profile_resetter.cc:280: if (state_ == STATE_AWAITING_USER_CHOICE) { nit: ...
7 years, 1 month ago (2013-11-07 00:01:17 UTC) #2
engedy
Marc-André, Dominic: the unit tests have arrived, making the patch complete, apart from some wordsmithing/cleaning ...
7 years, 1 month ago (2013-11-08 02:56:40 UTC) #3
engedy
Furthermore, the amount of boilerplate in apr_unittest is becoming somewhat extreme, I will try to ...
7 years, 1 month ago (2013-11-08 02:59:26 UTC) #4
engedy
@Dominic, PTAL.
7 years, 1 month ago (2013-11-10 22:35:48 UTC) #5
battre
only two nits. LGTM if you fix the shutdown problem. Feel free to ping me ...
7 years, 1 month ago (2013-11-11 02:38:21 UTC) #6
MAD
Some minor comments I had about comments on an earlier patch... Will look at the ...
7 years, 1 month ago (2013-11-11 13:26:11 UTC) #7
MAD
LGTM with a few format/comments nits... Thanks! BYE MAD https://codereview.chromium.org/62193002/diff/470001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/62193002/diff/470001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode297 chrome/browser/profile_resetter/automatic_profile_resetter.cc:297: ...
7 years, 1 month ago (2013-11-11 16:38:31 UTC) #8
engedy
Addressed all comments, and fixed the shut-down issues, but it turned out to be some ...
7 years, 1 month ago (2013-11-13 00:40:43 UTC) #9
battre
still LGTM https://codereview.chromium.org/62193002/diff/740001/chrome/browser/profile_resetter/automatic_profile_resetter.h File chrome/browser/profile_resetter/automatic_profile_resetter.h (right): https://codereview.chromium.org/62193002/diff/740001/chrome/browser/profile_resetter/automatic_profile_resetter.h#newcode148 chrome/browser/profile_resetter/automatic_profile_resetter.h:148: STATE_HAS_SHOWN_BUBBLE, These two names are not 100% ...
7 years, 1 month ago (2013-11-13 06:17:11 UTC) #10
engedy
https://codereview.chromium.org/62193002/diff/740001/chrome/browser/profile_resetter/automatic_profile_resetter.h File chrome/browser/profile_resetter/automatic_profile_resetter.h (right): https://codereview.chromium.org/62193002/diff/740001/chrome/browser/profile_resetter/automatic_profile_resetter.h#newcode148 chrome/browser/profile_resetter/automatic_profile_resetter.h:148: STATE_HAS_SHOWN_BUBBLE, On 2013/11/13 06:17:11, battre wrote: > These two ...
7 years, 1 month ago (2013-11-13 13:24:30 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/960001
7 years, 1 month ago (2013-11-13 14:59:35 UTC) #12
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=187559
7 years, 1 month ago (2013-11-13 15:41:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1220001
7 years, 1 month ago (2013-11-13 16:03:41 UTC) #14
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=187596
7 years, 1 month ago (2013-11-13 16:43:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1660001
7 years, 1 month ago (2013-11-14 18:22:55 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_x64_rel for step(s) base_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_x64_rel&number=54068
7 years, 1 month ago (2013-11-14 21:03:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1880001
7 years, 1 month ago (2013-11-14 23:43:02 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1880001
7 years, 1 month ago (2013-11-15 01:36:09 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1880001
7 years, 1 month ago (2013-11-15 03:57:53 UTC) #20
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=224790
7 years, 1 month ago (2013-11-15 06:28:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1880001
7 years, 1 month ago (2013-11-15 07:38:19 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/62193002/1880001
7 years, 1 month ago (2013-11-15 09:37:59 UTC) #23
commit-bot: I haz the power
7 years, 1 month ago (2013-11-15 10:09:46 UTC) #24
Message was sent while issue was closed.
Change committed as 235309

Powered by Google App Engine
This is Rietveld 408576698