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

Issue 196473015: [Profiles] Don't treat GAIA names differently than regular profile names. (Closed)

Created:
6 years, 9 months ago by noms (inactive)
Modified:
6 years, 9 months ago
Reviewers:
rpetterson
CC:
chromium-reviews, Roger Tawa OOO till Jul 10th
Visibility:
Public.

Description

[Profiles] Don't treat GAIA names differently than regular profile names. This also half-enables the ability to use the Gaia profile pictures as the profile avatar on the main truck if you had previously used the --new-profile-management or --gaia-profile-info flags before. (Because the chrome://settings doesn't enable setting it outside the flag). There was special, ancient logic that treated profiles using a Gaia names as "special", which didn't mix well with syncing of the profile name. Basically, you could either use a synced profile name, or a Gaia name, but not both (i.e. download the synced name and then be able to rename the profile back to its Gaia name). I think this fixes it. and shouldn't really break a lot of other things, as the two functions that I've deleted weren't really used anywhere. BUG=352090 TEST=Be able to rename a local profile. Be able to sign in to a profile, and if this is the first time you're doing it, the profile name should be the user's Gaia first name. Be able to rename this profile to a custom name, and back to the Gaia name. Finally, if you're signing in with this account on a different profile, the name that you last left off should be the one that is synced/used. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259161

Patch Set 1 #

Patch Set 2 : remove useless comment #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -181 lines) Patch
M chrome/browser/profiles/gaia_info_update_service.cc View 1 chunk +6 lines, -14 lines 0 comments Download
M chrome/browser/profiles/gaia_info_update_service_unittest.cc View 3 chunks +0 lines, -35 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.h View 3 chunks +0 lines, -12 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache.cc View 1 5 chunks +1 line, -49 lines 0 comments Download
M chrome/browser/profiles/profile_info_cache_unittest.cc View 3 chunks +7 lines, -42 lines 0 comments Download
M chrome/browser/profiles/profile_info_interface.h View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profiles_state.cc View 1 chunk +5 lines, -26 lines 2 comments Download

Messages

Total messages: 16 (0 generated)
noms (inactive)
Here is a thing I did to profiles that may or may not (leaning towards ...
6 years, 9 months ago (2014-03-13 20:17:05 UTC) #1
noms (inactive)
ping :)
6 years, 9 months ago (2014-03-18 15:58:50 UTC) #2
noms (inactive)
I originally wanted to also fix crbug.com/351970 as part of this patch as it's sort ...
6 years, 9 months ago (2014-03-18 19:25:06 UTC) #3
rpetterson
Just to make sure I'm understanding properly, the order of name precedence goes: 1) Custom ...
6 years, 9 months ago (2014-03-20 22:58:17 UTC) #4
noms (inactive)
Yeah, that is the correct name precedence. The logic for returning a custom or gaia ...
6 years, 9 months ago (2014-03-21 14:31:59 UTC) #5
noms (inactive)
Rachel: ping! :)
6 years, 9 months ago (2014-03-24 21:19:27 UTC) #6
noms (inactive)
Rachel: ping! :)
6 years, 9 months ago (2014-03-24 21:19:37 UTC) #7
rpetterson
Eep! Thank you for the ping. This had totally fallen off my plate after I ...
6 years, 9 months ago (2014-03-24 21:49:46 UTC) #8
noms (inactive)
No problem. Thanks!
6 years, 9 months ago (2014-03-25 00:29:57 UTC) #9
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 9 months ago (2014-03-25 00:30:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/196473015/20001
6 years, 9 months ago (2014-03-25 00:31:24 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 00:37:06 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on win_chromium_compile_dbg
6 years, 9 months ago (2014-03-25 00:37:06 UTC) #13
noms (inactive)
The CQ bit was checked by noms@chromium.org
6 years, 9 months ago (2014-03-25 03:38:42 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noms@chromium.org/196473015/20001
6 years, 9 months ago (2014-03-25 03:41:45 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 05:59:42 UTC) #16
Message was sent while issue was closed.
Change committed as 259161

Powered by Google App Engine
This is Rietveld 408576698