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

Issue 1428213004: This CL replaces std::string user_id in ash/* with AccountId. (Closed)

Created:
5 years, 1 month ago by Alexander Alekseev
Modified:
5 years, 1 month ago
CC:
chromium-reviews, sadrul, zea+watch_chromium.org, rginda+watch_chromium.org, dmazzoni+watch_chromium.org, tim+watch_chromium.org, extensions-reviews_chromium.org, aboxhall+watch_chromium.org, pvalenzuela+watch_chromium.org, je_julie, chromium-apps-reviews_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, yuzo+watch_chromium.org, oshima+watch_chromium.org, kalyank, plundblad+watch_chromium.org, tfarina, maxbogue+watch_chromium.org, nektar+watch_chromium.org, plaree+watch_chromium.org, dtseng+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL replaces std::string user_id in ash/* with AccountId. This CL replaces most of ASH temporary AccountId to/from email transformations with AccountId references. It also replaces strings in multi_user_util with AccountId objects. This is part of transition to AccountId. BUG=468875 TEST=manual Committed: https://crrev.com/cdf46dd1677ae5a8974fb4b1677b39d89f973a36 Cr-Commit-Position: refs/heads/master@{#359225}

Patch Set 1 #

Patch Set 2 : Rebased. #

Patch Set 3 : Fix build. #

Patch Set 4 : Fix build. #

Patch Set 5 : Fix tests. #

Patch Set 6 : Fix tests. #

Total comments: 10

Patch Set 7 : Update after review. #

Total comments: 6

Patch Set 8 : Update after review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+928 lines, -736 lines) Patch
M ash/session/session_state_delegate.h View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/session/session_state_observer.h View 1 chunk +4 lines, -2 lines 0 comments Download
M ash/shell/shell_delegate_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/system_tray_delegate.h View 2 chunks +3 lines, -1 line 0 comments Download
M ash/system/tray/system_tray_delegate.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/tray_user.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/user_view.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/test/test_session_state_delegate.h View 3 chunks +4 lines, -2 lines 0 comments Download
M ash/test/test_session_state_delegate.cc View 4 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/accessibility_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/accessibility/magnification_manager.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc View 3 chunks +13 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api_unittest.cc View 4 chunks +14 lines, -24 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/notification_manager.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/feedback/show_feedback_page.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/notifications/message_center_notifications_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/notifications/profile_notification.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/signin/signin_error_notifier_ash.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/sync/sync_error_notifier_ash.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/chrome_shell_content_state_chromeos.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 6 7 6 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc View 1 2 3 33 chunks +97 lines, -60 lines 0 comments Download
M chrome/browser/ui/ash/launcher/multi_profile_app_window_launcher_controller.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos.cc View 1 2 3 4 5 6 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_context_menu_chromeos_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.h View 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos.cc View 3 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chromeos_unittest.cc View 4 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_util.h View 1 2 3 4 5 6 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_util.cc View 1 2 3 4 5 5 chunks +24 lines, -20 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -11 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h View 1 8 chunks +28 lines, -32 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc View 1 2 3 4 5 19 chunks +80 lines, -78 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos_unittest.cc View 55 chunks +350 lines, -258 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.h View 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_stub.cc View 2 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_test.h View 3 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/multi_user_window_manager_test.cc View 1 2 3 4 5 6 7 3 chunks +20 lines, -18 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h View 5 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.cc View 12 chunks +27 lines, -23 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_chromeos.cc View 5 chunks +23 lines, -24 lines 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_views.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/session_state_delegate_views.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 2 3 4 5 6 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 1 2 3 4 5 6 3 chunks +15 lines, -15 lines 0 comments Download
M chrome/browser/ui/browser_finder.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/browser_finder_chromeos_unittest.cc View 1 2 3 4 5 6 chunks +11 lines, -5 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser_navigator_browsertest_chromeos.cc View 3 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc View 3 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/frame/system_menu_model_builder.cc View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 47 (19 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/1428213004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/1
5 years, 1 month ago (2015-11-05 09:49:21 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/90472) ios_rel_device_ninja on ...
5 years, 1 month ago (2015-11-05 09:52:01 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/20001
5 years, 1 month ago (2015-11-05 10:26:19 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/40001
5 years, 1 month ago (2015-11-05 10:36:10 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/118660)
5 years, 1 month ago (2015-11-05 10:51:10 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/60001
5 years, 1 month ago (2015-11-05 11:11:31 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/84419)
5 years, 1 month ago (2015-11-05 11:43:28 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/60001
5 years, 1 month ago (2015-11-06 07:38:06 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/84996)
5 years, 1 month ago (2015-11-06 08:12:30 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/80001
5 years, 1 month ago (2015-11-06 08:44:01 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/85007)
5 years, 1 month ago (2015-11-06 09:28:10 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/100001
5 years, 1 month ago (2015-11-06 11:29:06 UTC) #24
Alexander Alekseev
This CL migrates code in ash/* and c/b/ui/ash/* to AccountId. There is only one temporary ...
5 years, 1 month ago (2015-11-06 11:56:07 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-06 12:19:39 UTC) #28
stevenjb
On 2015/11/06 12:19:39, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 1 month ago (2015-11-06 17:06:56 UTC) #29
stevenjb
I looked at all of ash/ and chrome/browser/ui/ash/, but I'm pretty fuzzy on the multi_user/ ...
5 years, 1 month ago (2015-11-06 17:45:29 UTC) #30
Alexander Alekseev
+skuhne@ for c/b/ui/ash/multi_user . https://codereview.chromium.org/1428213004/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc File chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc (right): https://codereview.chromium.org/1428213004/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc#newcode1413 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc:1413: .GetUserEmail()] = list; On 2015/11/06 ...
5 years, 1 month ago (2015-11-06 23:38:59 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/120001
5 years, 1 month ago (2015-11-06 23:40:21 UTC) #34
stevenjb
ash/ and chrome/browser/ui/ash/ lgtm
5 years, 1 month ago (2015-11-06 23:52:31 UTC) #35
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-07 00:21:40 UTC) #37
Alexander Alekseev
skuhne@ . friendly ping.
5 years, 1 month ago (2015-11-11 02:05:20 UTC) #38
Mr4D (OOO till 08-26)
ui/ash/multi_user lgtm
5 years, 1 month ago (2015-11-11 05:19:02 UTC) #39
Alexander Alekseev
sky@ : Please review all except c/b/ui/ash/* : ash/* (as owner) c/b/c/accessibility/accessibility_manager.cc c/b/c/accessibility/accessibility_manager.h c/b/c/accessibility/magnification_manager.cc c/b/c/extensions/file_manager/private_api_misc.cc ...
5 years, 1 month ago (2015-11-11 14:06:17 UTC) #40
sky
LGTM https://codereview.chromium.org/1428213004/diff/120001/ash/system/tray/system_tray_delegate.cc File ash/system/tray/system_tray_delegate.cc (right): https://codereview.chromium.org/1428213004/diff/120001/ash/system/tray/system_tray_delegate.cc#newcode262 ash/system/tray/system_tray_delegate.cc:262: const AccountId& /* account_id */) { I prefer ...
5 years, 1 month ago (2015-11-11 20:15:34 UTC) #41
Alexander Alekseev
https://codereview.chromium.org/1428213004/diff/120001/ash/system/tray/system_tray_delegate.cc File ash/system/tray/system_tray_delegate.cc (right): https://codereview.chromium.org/1428213004/diff/120001/ash/system/tray/system_tray_delegate.cc#newcode262 ash/system/tray/system_tray_delegate.cc:262: const AccountId& /* account_id */) { On 2015/11/11 20:15:34, ...
5 years, 1 month ago (2015-11-11 23:32:06 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428213004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428213004/140001
5 years, 1 month ago (2015-11-11 23:34:51 UTC) #45
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-12 03:15:24 UTC) #46
commit-bot: I haz the power
5 years, 1 month ago (2015-11-12 20:03:32 UTC) #47
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cdf46dd1677ae5a8974fb4b1677b39d89f973a36
Cr-Commit-Position: refs/heads/master@{#359225}

Powered by Google App Engine
This is Rietveld 408576698