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

Issue 24533002: Added the AutomaticProfileResetter service. (Closed)

Created:
7 years, 3 months ago by engedy
Modified:
7 years, 2 months ago
Visibility:
Public.

Description

Added the AutomaticProfileResetter service. BUG=298036 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226473

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressed comments, integrated Interpreter, added unit tests. #

Total comments: 4

Patch Set 3 : Added histogram, addressed comments, final polishing. #

Patch Set 4 : Final touches on unittests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1413 lines, -0 lines) Patch
M base/prefs/pref_service.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M base/prefs/pref_service.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 1 chunk +4 lines, -0 lines 2 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter.h View 1 2 1 chunk +127 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter.cc View 1 2 1 chunk +318 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_factory.h View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_factory.cc View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_mementos.h View 1 1 chunk +99 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_mementos.cc View 1 2 1 chunk +123 lines, -0 lines 0 comments Download
A chrome/browser/profile_resetter/automatic_profile_resetter_unittest.cc View 1 2 3 1 chunk +568 lines, -0 lines 0 comments Download
M chrome/browser/profile_resetter/jtl_interpreter.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/profiles/chrome_browser_main_extra_parts_profiles.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_constants.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_constants.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
engedy
Please take a look. It turns out that trying to decouple this from the Interpreter ...
7 years, 3 months ago (2013-09-25 08:37:38 UTC) #1
battre
https://codereview.chromium.org/24533002/diff/1/base/prefs/pref_service.h File base/prefs/pref_service.h (right): https://codereview.chromium.org/24533002/diff/1/base/prefs/pref_service.h#newcode241 base/prefs/pref_service.h:241: // The ownership is passed to the caller. My ...
7 years, 2 months ago (2013-09-25 09:43:26 UTC) #2
engedy
Robert, could you please take a look? Clearly, there is work to do here, but ...
7 years, 2 months ago (2013-09-25 16:56:59 UTC) #3
robertshield
Looks really good, just minor style nits. https://codereview.chromium.org/24533002/diff/1/base/prefs/pref_service.h File base/prefs/pref_service.h (right): https://codereview.chromium.org/24533002/diff/1/base/prefs/pref_service.h#newcode241 base/prefs/pref_service.h:241: // The ...
7 years, 2 months ago (2013-09-25 20:18:12 UTC) #4
engedy
I have added the real Interpreter, and addressed comments. Coud you PTAL? https://codereview.chromium.org/24533002/diff/1/base/prefs/pref_service.h File base/prefs/pref_service.h ...
7 years, 2 months ago (2013-09-27 23:27:34 UTC) #5
robertshield
lgtm
7 years, 2 months ago (2013-09-28 01:11:28 UTC) #6
battre
one more feature request. https://codereview.chromium.org/24533002/diff/10001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/24533002/diff/10001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode147 chrome/browser/profile_resetter/automatic_profile_resetter.cc:147: } else { // ShouldPerformDryRun() ...
7 years, 2 months ago (2013-09-28 07:36:16 UTC) #7
engedy
@Dominic: please take another look. https://codereview.chromium.org/24533002/diff/10001/chrome/browser/profile_resetter/automatic_profile_resetter.cc File chrome/browser/profile_resetter/automatic_profile_resetter.cc (right): https://codereview.chromium.org/24533002/diff/10001/chrome/browser/profile_resetter/automatic_profile_resetter.cc#newcode147 chrome/browser/profile_resetter/automatic_profile_resetter.cc:147: } else { // ...
7 years, 2 months ago (2013-10-01 14:12:19 UTC) #8
battre
lgtm
7 years, 2 months ago (2013-10-01 14:56:07 UTC) #9
engedy
@Miranda: please review "profiles/chrome_browser_main_extra_parts_profiles.cc" for OWNERS' approval. @Jochen, @Nico: please review "browser_resources.grd" and "chrome_constants.{h|cc}" for ...
7 years, 2 months ago (2013-10-01 15:30:36 UTC) #10
Miranda Callahan
On 2013/10/01 15:30:36, engedy wrote: > @Miranda: please review "profiles/chrome_browser_main_extra_parts_profiles.cc" > for OWNERS' approval. > ...
7 years, 2 months ago (2013-10-01 15:33:45 UTC) #11
engedy
Further re-routing chrome/browser/profiles/* to Elliot for OWNER's approval, as Rachel is travelling.
7 years, 2 months ago (2013-10-01 22:17:51 UTC) #12
Elliot Glaysher
lgtm
7 years, 2 months ago (2013-10-01 22:29:36 UTC) #13
Nico
https://codereview.chromium.org/24533002/diff/74001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/24533002/diff/74001/chrome/browser/browser_resources.grd#newcode389 chrome/browser/browser_resources.grd:389: <include name="IDR_AUTOMATIC_PROFILE_RESET_HASH_SEED_DRY" file="internal\resources\profile_reset\automatic_profile_reset_hash_seed_dry.dat" type="BINDATA" /> Don't you need to ...
7 years, 2 months ago (2013-10-01 22:33:18 UTC) #14
engedy
https://codereview.chromium.org/24533002/diff/74001/chrome/browser/browser_resources.grd File chrome/browser/browser_resources.grd (right): https://codereview.chromium.org/24533002/diff/74001/chrome/browser/browser_resources.grd#newcode389 chrome/browser/browser_resources.grd:389: <include name="IDR_AUTOMATIC_PROFILE_RESET_HASH_SEED_DRY" file="internal\resources\profile_reset\automatic_profile_reset_hash_seed_dry.dat" type="BINDATA" /> On 2013/10/01 22:33:18, Nico ...
7 years, 2 months ago (2013-10-01 22:52:56 UTC) #15
Nico
Huh, I didn't know that! lgtm
7 years, 2 months ago (2013-10-01 23:03:59 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/24533002/74001
7 years, 2 months ago (2013-10-02 10:34:35 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/24533002/74001
7 years, 2 months ago (2013-10-02 10:57:45 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/24533002/74001
7 years, 2 months ago (2013-10-02 12:30:38 UTC) #19
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 2 months ago (2013-10-02 12:32:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/engedy@chromium.org/24533002/74001
7 years, 2 months ago (2013-10-02 12:33:52 UTC) #21
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=84987
7 years, 2 months ago (2013-10-02 15:00:42 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/24533002/74001
7 years, 2 months ago (2013-10-02 16:01:06 UTC) #23
commit-bot: I haz the power
7 years, 2 months ago (2013-10-02 16:07:07 UTC) #24
Message was sent while issue was closed.
Change committed as 226473

Powered by Google App Engine
This is Rietveld 408576698