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

Issue 490363002: [Profiles] Update legacy default profile names. (Closed)

Created:
6 years, 4 months ago by noms (inactive)
Modified:
6 years, 3 months ago
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

[Profiles] Update legacy default profile names. In the new profile management world, you can find yourself using a super old profile named by default "Default Profile". These names should be migrated to the new style default names ("Person 1"). The code is fantastically special because the ProfileInfoCache re-sorts itself after each rename, so doing a batch rename is really not a thing it wants to do. BUG=406409 Committed: https://crrev.com/be073e56a7e5941794ab268a599f3d685cfbfb86 Cr-Commit-Position: refs/heads/master@{#291598}

Patch Set 1 : #

Total comments: 4

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -7 lines) Patch
M chrome/browser/profiles/profile_info_cache.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 2 chunks +46 lines, -7 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache_unittest.cc View 1 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
noms (inactive)
Hiya, I tried to do a batch rename of legacy profile names in the ProfileInfoCache ...
6 years, 4 months ago (2014-08-22 15:06:36 UTC) #1
Roger Tawa OOO till Jul 10th
https://codereview.chromium.org/490363002/diff/60001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/490363002/diff/60001/chrome/browser/profiles/profile_info_cache.cc#newcode1074 chrome/browser/profiles/profile_info_cache.cc:1074: #endif reverse condition and put #ifdef around all the ...
6 years, 4 months ago (2014-08-22 15:28:04 UTC) #2
Roger Tawa OOO till Jul 10th
lgtm
6 years, 4 months ago (2014-08-22 15:28:26 UTC) #3
rpetterson
LGTM https://codereview.chromium.org/490363002/diff/60001/chrome/browser/profiles/profile_info_cache_unittest.cc File chrome/browser/profiles/profile_info_cache_unittest.cc (right): https://codereview.chromium.org/490363002/diff/60001/chrome/browser/profiles/profile_info_cache_unittest.cc#newcode612 chrome/browser/profiles/profile_info_cache_unittest.cc:612: EXPECT_EQ(4U, GetCache()->GetNumberOfProfiles()); You could also add a fifth ...
6 years, 4 months ago (2014-08-22 20:36:10 UTC) #4
noms (inactive)
https://codereview.chromium.org/490363002/diff/60001/chrome/browser/profiles/profile_info_cache.cc File chrome/browser/profiles/profile_info_cache.cc (right): https://codereview.chromium.org/490363002/diff/60001/chrome/browser/profiles/profile_info_cache.cc#newcode1074 chrome/browser/profiles/profile_info_cache.cc:1074: #endif On 2014/08/22 15:28:04, Roger Tawa wrote: > reverse ...
6 years, 4 months ago (2014-08-22 20:44:35 UTC) #5
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 4 months ago (2014-08-23 19:07:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/490363002/80001
6 years, 4 months ago (2014-08-23 19:08:26 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (80001) as 97f33c85c597b5530e3f54f911218a0a158261fb
6 years, 4 months ago (2014-08-23 22:01:11 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 02:31:42 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/be073e56a7e5941794ab268a599f3d685cfbfb86
Cr-Commit-Position: refs/heads/master@{#291598}

Powered by Google App Engine
This is Rietveld 408576698