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

Issue 1295323002: Remove profile-based per-host & default zoom level migration code. (Closed)

Created:
5 years, 4 months ago by wjmaclean
Modified:
5 years, 4 months ago
Reviewers:
Lei Zhang, gab
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove profile-based per-host & default zoom level migration code. User migrations from the old-style zoom preferences has dropped below a small fraction of a percent, so this CL removes the migration machinery. BUG=420643 Committed: https://crrev.com/5f5c5dd8f96e734631e49f2c78f75877cb170797 Cr-Commit-Position: refs/heads/master@{#343997}

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -158 lines) Patch
M chrome/browser/prefs/browser_prefs.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 chunk +0 lines, -53 lines 4 comments Download
M chrome/browser/profiles/host_zoom_map_browsertest.cc View 1 chunk +0 lines, -86 lines 3 comments Download
M chrome/browser/profiles/profile.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 chunk +0 lines, -3 lines 2 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1295323002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1295323002/1
5 years, 4 months ago (2015-08-18 17:40:50 UTC) #2
wjmaclean
Relatively small/simple clean-up CL ... please take a look?
5 years, 4 months ago (2015-08-18 17:42:43 UTC) #4
Lei Zhang
lgtm!
5 years, 4 months ago (2015-08-18 18:38:41 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/41027)
5 years, 4 months ago (2015-08-18 18:50:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1295323002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1295323002/1
5 years, 4 months ago (2015-08-18 18:54:29 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 4 months ago (2015-08-18 19:30:28 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5f5c5dd8f96e734631e49f2c78f75877cb170797 Cr-Commit-Position: refs/heads/master@{#343997}
5 years, 4 months ago (2015-08-18 19:31:14 UTC) #11
gab
Thanks, drive-by nits. https://codereview.chromium.org/1295323002/diff/1/chrome/browser/prefs/browser_prefs.cc File chrome/browser/prefs/browser_prefs.cc (left): https://codereview.chromium.org/1295323002/diff/1/chrome/browser/prefs/browser_prefs.cc#oldcode585 chrome/browser/prefs/browser_prefs.cc:585: https://codereview.chromium.org/541103002/diff/1040001/chrome/browser/prefs/browser_prefs.cc had introduced some includes, can ...
5 years, 4 months ago (2015-08-18 20:39:41 UTC) #13
wjmaclean
I've addressed your comments in a new issue: https://codereview.chromium.org/1297503008/ Please see responses below. https://codereview.chromium.org/1295323002/diff/1/chrome/browser/prefs/browser_prefs.cc File ...
5 years, 4 months ago (2015-08-19 13:53:34 UTC) #14
gab
5 years, 4 months ago (2015-08-20 16:34:29 UTC) #15
Message was sent while issue was closed.
Thanks

https://codereview.chromium.org/1295323002/diff/1/chrome/browser/profiles/hos...
File chrome/browser/profiles/host_zoom_map_browsertest.cc (left):

https://codereview.chromium.org/1295323002/diff/1/chrome/browser/profiles/hos...
chrome/browser/profiles/host_zoom_map_browsertest.cc:358: // In this case we
migrate the zoom level data from the profile prefs.
On 2015/08/19 13:53:34, wjmaclean wrote:
> On 2015/08/18 20:39:40, gab wrote:
> > Includes cleanup from
> >
>
https://codereview.chromium.org/541103002/diff/1040001/chrome/browser/profile...
> > ?
> 
> Did you want me to revert the changes to HostZoomMapBrowserTestWithPrefs as
> well? I thought they might be useful as is, and certainly would be useful if
we
> write more prefs-tests. But I can remove them if you like.

Don't feel strongly there, feels like most of the other changes still apply?
Feel free to remove any now overly generic path.

Powered by Google App Engine
This is Rietveld 408576698