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

Issue 2099793002: mash: Migrate some system user files to common. (Closed)

Created:
4 years, 6 months ago by msw
Modified:
4 years, 6 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, sadrul, dtseng+watch_chromium.org, derat+watch_chromium.org, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+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

mash: Migrate some system user files to common. Move some (not all) of ash/system/user to common: tools/git/move_source_file.py ash/system/user/button_from_view.* ash/common/system/user/ tools/git/move_source_file.py ash/system/user/login_status.* ash/common/system/user/ tools/git/move_source_file.py ash/system/user/rounded_image_view.* ash/common/system/user/ tools/git/move_source_file.py ash/system/user/user_observer.h ash/common/system/user/ tools/git/move_source_file.py ash/system/user/tray_user_separator.* ash/common/system/user/ The remaining files will require more complex changes. Forward declare enum class LoginStatus where possible. Otherwise include ash/common/login_status.h where possible. Otherwise include ash/common/system/user/login_status.h. BUG=619636 TEST=compiles; unit tests; no behavior changes. R=jamescook@chromium.org TBR=sky@chromium.org Committed: https://crrev.com/b241605e36b22bdfc76448ad1577e6b110a5d6e5 Cr-Commit-Position: refs/heads/master@{#401975}

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -574 lines) Patch
M ash/ash.gyp View 2 chunks +9 lines, -9 lines 0 comments Download
A + ash/common/system/user/button_from_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/user/button_from_view.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/system/user/login_status.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/user/login_status.cc View 1 2 chunks +6 lines, -8 lines 2 comments Download
A + ash/common/system/user/rounded_image_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/user/rounded_image_view.cc View 1 chunk +1 line, -1 line 0 comments Download
A + ash/common/system/user/tray_user_separator.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + ash/common/system/user/tray_user_separator.cc View 2 chunks +2 lines, -3 lines 0 comments Download
A + ash/common/system/user/user_observer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/metrics/user_metrics_recorder_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/root_window_controller.h View 2 chunks +1 line, -1 line 3 comments Download
M ash/root_window_controller.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell.h View 2 chunks +1 line, -1 line 0 comments Download
M ash/shell.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/shell/content/client/shell_browser_main_parts.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/system/chromeos/enterprise/tray_enterprise.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/network/network_state_list_detailed_view.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/session/last_window_closed_logout_reminder.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/session/logout_button_tray.h View 2 chunks +2 lines, -1 line 0 comments Download
M ash/system/chromeos/session/logout_button_tray.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/system/chromeos/supervised/tray_supervised_user.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/supervised/tray_supervised_user_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/overview/overview_button_tray_unittest.cc View 2 chunks +1 line, -1 line 0 comments Download
M ash/system/tray/system_tray.h View 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/tray/system_tray.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M ash/system/tray/system_tray_notifier.h View 1 chunk +1 line, -1 line 0 comments Download
D ash/system/user/button_from_view.h View 1 chunk +0 lines, -70 lines 0 comments Download
D ash/system/user/button_from_view.cc View 1 chunk +0 lines, -111 lines 0 comments Download
D ash/system/user/login_status.h View 1 chunk +0 lines, -20 lines 0 comments Download
D ash/system/user/login_status.cc View 1 chunk +0 lines, -50 lines 0 comments Download
D ash/system/user/rounded_image_view.h View 1 chunk +0 lines, -55 lines 0 comments Download
D ash/system/user/rounded_image_view.cc View 1 chunk +0 lines, -79 lines 0 comments Download
M ash/system/user/tray_user.h View 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
D ash/system/user/tray_user_separator.h View 1 chunk +0 lines, -44 lines 0 comments Download
D ash/system/user/tray_user_separator.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M ash/system/user/tray_user_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/system/user/user_card_view.h View 1 chunk +3 lines, -1 line 0 comments Download
M ash/system/user/user_card_view.cc View 1 chunk +2 lines, -1 line 0 comments Download
D ash/system/user/user_observer.h View 1 chunk +0 lines, -25 lines 0 comments Download
M ash/system/user/user_view.h View 2 chunks +1 line, -1 line 0 comments Download
M ash/system/user/user_view.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M ash/test/status_area_widget_test_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_session_state_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/test_system_tray_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_system_use_24hour_clock_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/power/power_button_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/shutdown_policy_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/system/tray_accessibility_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/network_connect_delegate_chromeos.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2099793002/1
4 years, 6 months ago (2016-06-24 19:27:27 UTC) #2
msw
Hey James, please take a look; thanks! https://codereview.chromium.org/2099793002/diff/20001/ash/root_window_controller.h File ash/root_window_controller.h (right): https://codereview.chromium.org/2099793002/diff/20001/ash/root_window_controller.h#newcode57 ash/root_window_controller.h:57: enum class ...
4 years, 6 months ago (2016-06-24 20:04:28 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2099793002/20001
4 years, 6 months ago (2016-06-24 20:05:33 UTC) #7
James Cook
LGTM https://codereview.chromium.org/2099793002/diff/20001/ash/common/system/user/login_status.cc File ash/common/system/user/login_status.cc (right): https://codereview.chromium.org/2099793002/diff/20001/ash/common/system/user/login_status.cc#newcode29 ash/common/system/user/login_status.cc:29: WmShell::Get()->GetSessionStateDelegate()->NumberOfLoggedInUsers() > 1 aside: At some point the ...
4 years, 6 months ago (2016-06-24 20:18:53 UTC) #8
msw
+TBR Scott for chrome OWNERS (just updates include paths). https://codereview.chromium.org/2099793002/diff/20001/ash/common/system/user/login_status.cc File ash/common/system/user/login_status.cc (right): https://codereview.chromium.org/2099793002/diff/20001/ash/common/system/user/login_status.cc#newcode29 ash/common/system/user/login_status.cc:29: ...
4 years, 6 months ago (2016-06-24 20:26:46 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-24 21:12:09 UTC) #13
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/2099793002/20001
4 years, 6 months ago (2016-06-24 21:18:23 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-24 21:24:00 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-24 21:28:44 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b241605e36b22bdfc76448ad1577e6b110a5d6e5
Cr-Commit-Position: refs/heads/master@{#401975}

Powered by Google App Engine
This is Rietveld 408576698