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

Issue 271673006: Eliminate all code related to the AutomaticProfileResetter. (Closed)

Created:
6 years, 7 months ago by engedy
Modified:
6 years, 4 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, tfarina, arv+watch_chromium.org
Visibility:
Public.

Description

Eliminate all code related to the AutomaticProfileResetter. The component has been unused for a long time, is getting stale, and requires maintenance from time to time. BUG=370966 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287385

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebase, removes prefs as well. #

Total comments: 2

Patch Set 3 : Addressed comments, added code to blow away legacy files and prefs. #

Patch Set 4 : Rebase. #

Patch Set 5 : Comment phrasing. #

Total comments: 2

Patch Set 6 : Added hard deadline for removing migration code. #

Total comments: 10

Patch Set 7 : Address comments from gab@. #

Total comments: 2

Patch Set 8 : Language nit. #

Total comments: 2

Patch Set 9 : Fixed nit from dbeam@, using new tracked preference deprecation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -8146 lines) Patch
M build/all.gyp View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/app/generated_resources.grd View 2 chunks +0 lines, -30 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 6 chunks +18 lines, -4 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/prefs/pref_hash_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter.h View 1 chunk +0 lines, -268 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter.cc View 1 1 chunk +0 lines, -763 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_delegate.h View 1 1 chunk +0 lines, -239 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_delegate.cc View 1 1 chunk +0 lines, -397 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_delegate_unittest.cc View 1 1 chunk +0 lines, -608 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_factory.h View 1 chunk +0 lines, -55 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_factory.cc View 1 1 chunk +0 lines, -71 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h View 1 chunk +0 lines, -101 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc View 1 chunk +0 lines, -129 lines 0 comments Download
D chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc View 1 1 chunk +0 lines, -1380 lines 0 comments Download
D chrome/browser/profile_resetter/jtl_foundation.h View 1 chunk +0 lines, -193 lines 0 comments Download
D chrome/browser/profile_resetter/jtl_foundation.cc View 1 chunk +0 lines, -48 lines 0 comments Download
D chrome/browser/profile_resetter/jtl_instructions.h View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/browser/profile_resetter/jtl_interpreter.h View 1 chunk +0 lines, -61 lines 0 comments Download
D chrome/browser/profile_resetter/jtl_interpreter.cc View 1 chunk +0 lines, -748 lines 0 comments Download
D chrome/browser/profile_resetter/jtl_interpreter_unittest.cc View 1 chunk +0 lines, -689 lines 0 comments Download
D chrome/browser/profile_resetter/profile_reset_global_error.h View 1 chunk +0 lines, -72 lines 0 comments Download
D chrome/browser/profile_resetter/profile_reset_global_error.cc View 1 chunk +0 lines, -110 lines 0 comments Download
M chrome/browser/profile_resetter/resettable_settings_snapshot.h View 2 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/profile_resetter/resettable_settings_snapshot.cc View 1 2 2 chunks +3 lines, -14 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/options/options.js View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/options_bundle.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
D chrome/browser/resources/options/reset_profile_settings_banner.html View 1 chunk +0 lines, -18 lines 0 comments Download
D chrome/browser/resources/options/reset_profile_settings_banner.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -62 lines 0 comments Download
M chrome/browser/resources/options/reset_profile_settings_overlay.js View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/settings_banner.css View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/settings_banner.js View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
D chrome/browser/ui/profile_reset_bubble.h View 1 chunk +0 lines, -23 lines 0 comments Download
D chrome/browser/ui/profile_reset_bubble_stub.cc View 1 chunk +0 lines, -21 lines 0 comments Download
D chrome/browser/ui/views/profiles/profile_reset_bubble_view.h View 1 chunk +0 lines, -138 lines 0 comments Download
D chrome/browser/ui/views/profiles/profile_reset_bubble_view.cc View 1 1 chunk +0 lines, -446 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/reset_profile_settings_handler.h View 4 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/webui/options/reset_profile_settings_handler.cc View 1 8 chunks +2 lines, -40 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 4 chunks +0 lines, -8 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 3 chunks +0 lines, -6 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -5 lines 0 comments Download
D chrome/tools/profile_reset/OWNERS View 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/tools/profile_reset/jtl_compiler.h View 1 chunk +0 lines, -74 lines 0 comments Download
D chrome/tools/profile_reset/jtl_compiler.cc View 1 chunk +0 lines, -252 lines 0 comments Download
D chrome/tools/profile_reset/jtl_compiler.gyp View 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/tools/profile_reset/jtl_compiler_frontend.cc View 1 chunk +0 lines, -112 lines 0 comments Download
D chrome/tools/profile_reset/jtl_compiler_unittest.cc View 1 chunk +0 lines, -217 lines 0 comments Download
D chrome/tools/profile_reset/jtl_parser.h View 1 chunk +0 lines, -83 lines 0 comments Download
D chrome/tools/profile_reset/jtl_parser.cc View 1 chunk +0 lines, -167 lines 0 comments Download
D chrome/tools/profile_reset/jtl_parser_unittest.cc View 1 chunk +0 lines, -346 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
engedy
PTAL.
6 years, 7 months ago (2014-05-07 17:09:50 UTC) #1
battre
https://codereview.chromium.org/271673006/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (left): https://codereview.chromium.org/271673006/diff/1/chrome/browser/prefs/browser_prefs.cc#oldcode274 chrome/browser/prefs/browser_prefs.cc:274: AutomaticProfileResetterFactory::RegisterPrefs(registry); The preference should be cleared in MigrateUserPrefs().
6 years, 7 months ago (2014-05-08 11:46:13 UTC) #2
engedy
@Dominic: please take another look at the whole thing. @Vasilii: could you please take a ...
6 years, 4 months ago (2014-07-30 09:07:21 UTC) #3
battre
https://codereview.chromium.org/271673006/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (left): https://codereview.chromium.org/271673006/diff/1/chrome/browser/prefs/browser_prefs.cc#oldcode274 chrome/browser/prefs/browser_prefs.cc:274: AutomaticProfileResetterFactory::RegisterPrefs(registry); On 2014/07/30 09:07:21, engedy wrote: > On 2014/05/08 ...
6 years, 4 months ago (2014-07-30 09:11:09 UTC) #4
vasilii
LGTM c/b/profile_resetter/ c/b/ui/webui/options/ c/b/resources/options/ https://codereview.chromium.org/271673006/diff/20001/chrome/browser/profile_resetter/resettable_settings_snapshot.cc File chrome/browser/profile_resetter/resettable_settings_snapshot.cc (right): https://codereview.chromium.org/271673006/diff/20001/chrome/browser/profile_resetter/resettable_settings_snapshot.cc#newcode31 chrome/browser/profile_resetter/resettable_settings_snapshot.cc:31: // Feedback bucket labels. label
6 years, 4 months ago (2014-07-30 09:49:13 UTC) #5
engedy
https://codereview.chromium.org/271673006/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (left): https://codereview.chromium.org/271673006/diff/1/chrome/browser/prefs/browser_prefs.cc#oldcode274 chrome/browser/prefs/browser_prefs.cc:274: AutomaticProfileResetterFactory::RegisterPrefs(registry); On 2014/07/30 09:11:08, battre wrote: > On 2014/07/30 ...
6 years, 4 months ago (2014-07-30 11:45:11 UTC) #6
battre
LGTM https://codereview.chromium.org/271673006/diff/120001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/271673006/diff/120001/chrome/browser/prefs/browser_prefs.cc#newcode228 chrome/browser/prefs/browser_prefs.cc:228: // TODO(engedy): Remove this and all usages at ...
6 years, 4 months ago (2014-07-30 12:53:28 UTC) #7
engedy
https://codereview.chromium.org/271673006/diff/120001/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (right): https://codereview.chromium.org/271673006/diff/120001/chrome/browser/prefs/browser_prefs.cc#newcode228 chrome/browser/prefs/browser_prefs.cc:228: // TODO(engedy): Remove this and all usages at one ...
6 years, 4 months ago (2014-07-30 13:52:52 UTC) #8
engedy
On 2014/07/30 13:52:52, engedy wrote: > https://codereview.chromium.org/271673006/diff/120001/chrome/browser/prefs/browser_prefs.cc > File chrome/browser/prefs/browser_prefs.cc (right): > > https://codereview.chromium.org/271673006/diff/120001/chrome/browser/prefs/browser_prefs.cc#newcode228 > ...
6 years, 4 months ago (2014-07-30 13:55:08 UTC) #9
engedy
And now for a round of OWNERs' approvals. Please take a look at: @Dan: c/b/resources/options/ ...
6 years, 4 months ago (2014-07-30 14:52:36 UTC) #10
Alexei Svitkine (slow)
histograms.xml lgtm
6 years, 4 months ago (2014-07-30 14:59:05 UTC) #11
gab
Nice cleanup (glad I got my CL in yesterday to re-use the layout of this ...
6 years, 4 months ago (2014-07-30 16:59:25 UTC) #12
Elliot Glaysher
profiles lgtm
6 years, 4 months ago (2014-07-30 17:51:33 UTC) #13
engedy
@Gab, please take another look. https://codereview.chromium.org/271673006/diff/140001/chrome/browser/prefs/chrome_pref_service_factory.cc File chrome/browser/prefs/chrome_pref_service_factory.cc (left): https://codereview.chromium.org/271673006/diff/140001/chrome/browser/prefs/chrome_pref_service_factory.cc#oldcode167 chrome/browser/prefs/chrome_pref_service_factory.cc:167: }, On 2014/07/30 16:59:25, ...
6 years, 4 months ago (2014-07-30 18:29:48 UTC) #14
sky
LGTM
6 years, 4 months ago (2014-07-30 19:31:18 UTC) #15
gab
lgtm w/ grammar nit (and English is not my native language so feel free to ...
6 years, 4 months ago (2014-07-30 19:46:53 UTC) #16
engedy
https://codereview.chromium.org/271673006/diff/150001/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): https://codereview.chromium.org/271673006/diff/150001/chrome/browser/profiles/profile_impl.cc#newcode278 chrome/browser/profiles/profile_impl.cc:278: // has been since removed, to store that the ...
6 years, 4 months ago (2014-07-31 08:10:50 UTC) #17
Dan Beam
lgtm https://chromiumcodereview.appspot.com/271673006/diff/170001/chrome/browser/resources/options/settings_banner.css File chrome/browser/resources/options/settings_banner.css (right): https://chromiumcodereview.appspot.com/271673006/diff/170001/chrome/browser/resources/options/settings_banner.css#newcode5 chrome/browser/resources/options/settings_banner.css:5: /* nit: /* TODO
6 years, 4 months ago (2014-08-01 18:28:53 UTC) #18
engedy
@Gab: I have rebased this on your change, could you please take a final look? ...
6 years, 4 months ago (2014-08-01 19:44:08 UTC) #19
gab
lgtm, thanks! PS: In the future, it would have been easier to review if you'd ...
6 years, 4 months ago (2014-08-04 14:56:13 UTC) #20
engedy
On 2014/08/04 14:56:13, gab wrote: > lgtm, thanks! > > PS: In the future, it ...
6 years, 4 months ago (2014-08-04 15:22:11 UTC) #21
engedy
The CQ bit was checked by engedy@chromium.org
6 years, 4 months ago (2014-08-04 15:23:16 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/271673006/230001
6 years, 4 months ago (2014-08-04 15:24:08 UTC) #23
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-04 18:38:57 UTC) #24
commit-bot: I haz the power
6 years, 4 months ago (2014-08-04 19:03:45 UTC) #25
Message was sent while issue was closed.
Change committed as 287385

Powered by Google App Engine
This is Rietveld 408576698