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

Issue 2111253002: Clean up old legacy preference migration logic. (Closed)

Created:
4 years, 5 months ago by proberge
Modified:
4 years, 5 months ago
Reviewers:
gab, jwd
CC:
asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up old legacy preference migration logic. BUG=372547 Committed: https://crrev.com/fd4f68a33222c654f233256a39b2e55e09caa739 Cr-Commit-Position: refs/heads/master@{#405562}

Patch Set 1 #

Patch Set 2 : fix line breaks in comment #

Total comments: 5

Patch Set 3 : Remove legacy code in pref_hash_store_impl #

Patch Set 4 : Update deprecation notice in histogram to M54 #

Total comments: 2

Patch Set 5 : Remove hash_store_id method with no remaining useful implementation #

Patch Set 6 : Remove now unused kHashStoreId in unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -845 lines) Patch
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/prefs/chrome_pref_service_factory.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager.cc View 4 chunks +0 lines, -31 lines 0 comments Download
M chrome/browser/prefs/profile_pref_store_manager_unittest.cc View 4 chunks +0 lines, -88 lines 0 comments Download
M components/components_tests.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M components/user_prefs.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M components/user_prefs/tracked/BUILD.gn View 2 chunks +0 lines, -3 lines 0 comments Download
M components/user_prefs/tracked/dictionary_hash_store_contents.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M components/user_prefs/tracked/dictionary_hash_store_contents.cc View 1 2 3 4 1 chunk +0 lines, -4 lines 0 comments Download
M components/user_prefs/tracked/hash_store_contents.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M components/user_prefs/tracked/pref_hash_store_impl.h View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
M components/user_prefs/tracked/pref_hash_store_impl.cc View 1 2 3 4 5 10 chunks +15 lines, -32 lines 0 comments Download
D components/user_prefs/tracked/pref_service_hash_store_contents.h View 1 chunk +0 lines, -72 lines 0 comments Download
D components/user_prefs/tracked/pref_service_hash_store_contents.cc View 1 chunk +0 lines, -146 lines 0 comments Download
D components/user_prefs/tracked/pref_service_hash_store_contents_unittest.cc View 1 chunk +0 lines, -152 lines 0 comments Download
M components/user_prefs/tracked/tracked_preferences_migration.h View 1 2 chunks +5 lines, -7 lines 0 comments Download
M components/user_prefs/tracked/tracked_preferences_migration.cc View 10 chunks +11 lines, -38 lines 0 comments Download
M components/user_prefs/tracked/tracked_preferences_migration_unittest.cc View 1 2 3 4 5 9 chunks +0 lines, -245 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (14 generated)
proberge
Sorry @gab for sending you another large CL, feel free to re-assign one of them ...
4 years, 5 months ago (2016-06-30 20:54:19 UTC) #3
proberge
On 2016/06/30 20:54:19, proberge wrote: > Sorry @gab for sending you another large CL, feel ...
4 years, 5 months ago (2016-06-30 21:04:35 UTC) #4
proberge
On 2016/06/30 20:54:19, proberge wrote: > Sorry @gab for sending you another large CL, feel ...
4 years, 5 months ago (2016-06-30 21:04:37 UTC) #5
gab
Top-level comments, review in progress: Associate this CL with http://crbug.com/372547 and mark as Fixed when ...
4 years, 5 months ago (2016-07-04 14:56:36 UTC) #6
gab
lgtm w/ one more deletion, thanks :-)! https://codereview.chromium.org/2111253002/diff/20001/chrome/browser/prefs/profile_pref_store_manager.cc File chrome/browser/prefs/profile_pref_store_manager.cc (left): https://codereview.chromium.org/2111253002/diff/20001/chrome/browser/prefs/profile_pref_store_manager.cc#oldcode205 chrome/browser/prefs/profile_pref_store_manager.cc:205: pref_hash_store_impl->set_legacy_hash_store_contents( Also ...
4 years, 5 months ago (2016-07-04 15:21:46 UTC) #8
proberge
https://codereview.chromium.org/2111253002/diff/20001/chrome/browser/prefs/profile_pref_store_manager.cc File chrome/browser/prefs/profile_pref_store_manager.cc (left): https://codereview.chromium.org/2111253002/diff/20001/chrome/browser/prefs/profile_pref_store_manager.cc#oldcode205 chrome/browser/prefs/profile_pref_store_manager.cc:205: pref_hash_store_impl->set_legacy_hash_store_contents( On 2016/07/04 15:21:46, gab wrote: > Also rm ...
4 years, 5 months ago (2016-07-04 20:31:42 UTC) #9
gab
https://codereview.chromium.org/2111253002/diff/20001/chrome/browser/prefs/profile_pref_store_manager.cc File chrome/browser/prefs/profile_pref_store_manager.cc (left): https://codereview.chromium.org/2111253002/diff/20001/chrome/browser/prefs/profile_pref_store_manager.cc#oldcode205 chrome/browser/prefs/profile_pref_store_manager.cc:205: pref_hash_store_impl->set_legacy_hash_store_contents( On 2016/07/04 20:31:42, proberge wrote: > On 2016/07/04 ...
4 years, 5 months ago (2016-07-04 20:46:45 UTC) #10
proberge
@jwd can you approve for histograms.xml?
4 years, 5 months ago (2016-07-07 13:55:39 UTC) #11
gab
https://codereview.chromium.org/2111253002/diff/60001/components/user_prefs/tracked/pref_service_hash_store_contents.cc File components/user_prefs/tracked/pref_service_hash_store_contents.cc (left): https://codereview.chromium.org/2111253002/diff/60001/components/user_prefs/tracked/pref_service_hash_store_contents.cc#oldcode86 components/user_prefs/tracked/pref_service_hash_store_contents.cc:86: std::string PrefServiceHashStoreContents::hash_store_id() const { Reading some code further in ...
4 years, 5 months ago (2016-07-07 15:03:13 UTC) #12
jwd
lgtm
4 years, 5 months ago (2016-07-07 19:51:13 UTC) #13
proberge
https://codereview.chromium.org/2111253002/diff/60001/components/user_prefs/tracked/pref_service_hash_store_contents.cc File components/user_prefs/tracked/pref_service_hash_store_contents.cc (left): https://codereview.chromium.org/2111253002/diff/60001/components/user_prefs/tracked/pref_service_hash_store_contents.cc#oldcode86 components/user_prefs/tracked/pref_service_hash_store_contents.cc:86: std::string PrefServiceHashStoreContents::hash_store_id() const { On 2016/07/07 15:03:13, gab wrote: ...
4 years, 5 months ago (2016-07-07 21:37:18 UTC) #14
gab
lgtm, thanks
4 years, 5 months ago (2016-07-07 23:17:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111253002/80001
4 years, 5 months ago (2016-07-08 13:28:21 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/231085)
4 years, 5 months ago (2016-07-08 13:39:06 UTC) #20
proberge
Removed unused hash store id from a unit test. Note that I changed clients between ...
4 years, 5 months ago (2016-07-11 21:05:38 UTC) #21
gab
On 2016/07/11 21:05:38, proberge wrote: > Removed unused hash store id from a unit test. ...
4 years, 5 months ago (2016-07-12 00:30:58 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111253002/100001
4 years, 5 months ago (2016-07-12 17:17:49 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/199965)
4 years, 5 months ago (2016-07-12 18:38:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111253002/100001
4 years, 5 months ago (2016-07-12 19:47:20 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/200140)
4 years, 5 months ago (2016-07-12 22:16:16 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2111253002/100001
4 years, 5 months ago (2016-07-14 18:01:02 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-14 20:52:04 UTC) #35
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 20:52:08 UTC) #36
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 20:55:42 UTC) #38
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fd4f68a33222c654f233256a39b2e55e09caa739
Cr-Commit-Position: refs/heads/master@{#405562}

Powered by Google App Engine
This is Rietveld 408576698