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

Issue 2450183002: Rename UserInfo method GetEmail to GetDisplayEmail. (Closed)

Created:
4 years, 1 month ago by Alexander Alekseev
Modified:
4 years, 1 month ago
Reviewers:
xiyuan, oshima, sky
CC:
chromium-reviews, kalyank, sadrul, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename UserInfo method GetEmail to GetDisplayEmail. GetEmail should be named GetDisplayEmail because it returns display email. BUG=462823, 546876, 656992 TEST=none Committed: https://crrev.com/bc19dbb8c8a64decb28d4abc5cefaf74d246ab1c Cr-Commit-Position: refs/heads/master@{#429078}

Patch Set 1 #

Patch Set 2 : Fixed DEPS. #

Patch Set 3 : Fixed build in a dependent CL. #

Total comments: 4

Patch Set 4 : Rebased. #

Patch Set 5 : Removed EmptyUserInfo. Addressed comments. #

Patch Set 6 : Rebased. #

Patch Set 7 : Make StubAccountId compile for all platforms #

Patch Set 8 : Fix build #

Patch Set 9 : Fix build #

Total comments: 4

Patch Set 10 : Fix deps #

Patch Set 11 : Remove constexpr for Windows build #

Patch Set 12 : Fix test #

Total comments: 2

Patch Set 13 : Update after review. #

Patch Set 14 : Update comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -122 lines) Patch
M ash/common/system/user/tray_user_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ash/common/system/user/user_card_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ash/common/test/test_session_state_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/system_menu_model_builder.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/user_manager/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -5 lines 0 comments Download
M components/user_manager/empty_user_info.h View 1 2 3 4 1 chunk +0 lines, -40 lines 0 comments Download
M components/user_manager/empty_user_info.cc View 1 2 3 4 1 chunk +0 lines, -45 lines 0 comments Download
M components/user_manager/fake_user_manager.cc View 1 2 3 4 5 3 chunks +8 lines, -8 lines 0 comments Download
M components/user_manager/user.h View 3 1 chunk +1 line, -1 line 0 comments Download
M components/user_manager/user.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/user_manager/user_info.h View 1 chunk +1 line, -1 line 0 comments Download
M components/user_manager/user_info_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/user_manager/user_info_impl.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M components/user_manager/user_names.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M components/user_manager/user_names.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 70 (55 generated)
Alexander Alekseev
Since this method has always had returned display email (per comment in user_info.h), let's rename ...
4 years, 1 month ago (2016-10-26 07:25:21 UTC) #2
Alexander Alekseev
Please review: oshima: ash/* c/b/ui/ash/* sky: c/b/ui/views/frame/system_menu_model_builder.cc xiyuan: components/user_manager/* chromeos/BUILD.gn
4 years, 1 month ago (2016-10-26 10:34:30 UTC) #8
Alexander Alekseev
I moved all dependency changes to a separate Cl. Sorry for confusion. Please review: oahima@: ...
4 years, 1 month ago (2016-10-26 13:55:29 UTC) #15
oshima
can you look into build failures? https://codereview.chromium.org/2450183002/diff/40001/components/user_manager/fake_user_manager.cc File components/user_manager/fake_user_manager.cc (right): https://codereview.chromium.org/2450183002/diff/40001/components/user_manager/fake_user_manager.cc#newcode57 components/user_manager/fake_user_manager.cc:57: while (it != ...
4 years, 1 month ago (2016-10-26 15:14:45 UTC) #19
xiyuan
https://codereview.chromium.org/2450183002/diff/40001/components/user_manager/empty_user_info.h File components/user_manager/empty_user_info.h (right): https://codereview.chromium.org/2450183002/diff/40001/components/user_manager/empty_user_info.h#newcode20 components/user_manager/empty_user_info.h:20: class USER_MANAGER_EXPORT EmptyUserInfo : public UserInfo { While looking ...
4 years, 1 month ago (2016-10-26 17:26:17 UTC) #20
sky
LGTM
4 years, 1 month ago (2016-10-26 17:53:02 UTC) #21
Alexander Alekseev
https://codereview.chromium.org/2450183002/diff/40001/components/user_manager/empty_user_info.h File components/user_manager/empty_user_info.h (right): https://codereview.chromium.org/2450183002/diff/40001/components/user_manager/empty_user_info.h#newcode20 components/user_manager/empty_user_info.h:20: class USER_MANAGER_EXPORT EmptyUserInfo : public UserInfo { On 2016/10/26 ...
4 years, 1 month ago (2016-10-27 18:11:37 UTC) #40
xiyuan
https://codereview.chromium.org/2450183002/diff/160001/components/user_manager/user_names.cc File components/user_manager/user_names.cc (right): https://codereview.chromium.org/2450183002/diff/160001/components/user_manager/user_names.cc#newcode11 components/user_manager/user_names.cc:11: #include "google_apis/gaia/gaia_auth_util.h" // nogncheck Should we fix the deps ...
4 years, 1 month ago (2016-10-27 18:25:59 UTC) #43
Alexander Alekseev
https://codereview.chromium.org/2450183002/diff/160001/components/user_manager/user_names.cc File components/user_manager/user_names.cc (right): https://codereview.chromium.org/2450183002/diff/160001/components/user_manager/user_names.cc#newcode11 components/user_manager/user_names.cc:11: #include "google_apis/gaia/gaia_auth_util.h" // nogncheck On 2016/10/27 18:25:59, xiyuan wrote: ...
4 years, 1 month ago (2016-10-28 11:10:25 UTC) #54
xiyuan
lgtm https://codereview.chromium.org/2450183002/diff/220001/components/user_manager/user_names.cc File components/user_manager/user_names.cc (right): https://codereview.chromium.org/2450183002/diff/220001/components/user_manager/user_names.cc#newcode65 components/user_manager/user_names.cc:65: const AccountId& StubAccountId() { nit: move this back ...
4 years, 1 month ago (2016-10-28 16:40:59 UTC) #57
Alexander Alekseev
https://codereview.chromium.org/2450183002/diff/220001/components/user_manager/user_names.cc File components/user_manager/user_names.cc (right): https://codereview.chromium.org/2450183002/diff/220001/components/user_manager/user_names.cc#newcode65 components/user_manager/user_names.cc:65: const AccountId& StubAccountId() { On 2016/10/28 16:40:59, xiyuan wrote: ...
4 years, 1 month ago (2016-10-31 21:31:01 UTC) #58
oshima
lgtm
4 years, 1 month ago (2016-11-01 17:58:34 UTC) #63
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/2450183002/260001
4 years, 1 month ago (2016-11-01 19:42:07 UTC) #66
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 1 month ago (2016-11-01 19:49:30 UTC) #68
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 19:57:43 UTC) #70
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/bc19dbb8c8a64decb28d4abc5cefaf74d246ab1c
Cr-Commit-Position: refs/heads/master@{#429078}

Powered by Google App Engine
This is Rietveld 408576698