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

Issue 2505783002: chromeos: Migrate SignOut and RequestRestartForUpdate to mojo interface (Closed)

Created:
4 years, 1 month ago by James Cook
Modified:
4 years, 1 month ago
Reviewers:
Tom Sepez, Daniel Erat
CC:
chromium-reviews, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, oshima+watch_chromium.org, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Migrate SignOut and RequestRestartForUpdate to mojo interface Under mustash the ash shell runs in a different process than chrome browser. This migrates 2 methods from the in-process synchronous SystemTrayDelegate to the mojo SystemTrayClient interface. The implementations of these methods do a moderate amount of work inside Chrome, so they did not seem like good candidates to try to implement inside of ash itself. Ideally they methods would live in a user or login service, but we don't have that yet either. BUG=647412 TEST=existing ash_unittests and chrome unit_tests Committed: https://crrev.com/1d43d5cad3f5a3533da527401200271a4f9524e5 Cr-Commit-Position: refs/heads/master@{#432295}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -34 lines) Patch
M ash/common/system/chromeos/session/logout_button_tray.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ash/common/system/tray/system_tray_controller.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_controller.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.h View 1 chunk +0 lines, -6 lines 0 comments Download
M ash/common/system/tray/system_tray_delegate.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/common/system/update/tray_update.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/system/user/user_view.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ash/common/test/test_system_tray_delegate.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/test/test_system_tray_delegate.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M ash/common/wm_shell.cc View 1 chunk +4 lines, -2 lines 1 comment Download
M ash/public/interfaces/system_tray.mojom View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
James Cook
Dan, please take a look. https://codereview.chromium.org/2505783002/diff/1/ash/common/wm_shell.cc File ash/common/wm_shell.cc (right): https://codereview.chromium.org/2505783002/diff/1/ash/common/wm_shell.cc#newcode358 ash/common/wm_shell.cc:358: // Accesses WmShell in ...
4 years, 1 month ago (2016-11-15 22:43:18 UTC) #3
Daniel Erat
lgtm
4 years, 1 month ago (2016-11-15 22:57:28 UTC) #5
James Cook
tsepez, can I get security OWNERS for ash/public/interfaces/system_tray.mojom?
4 years, 1 month ago (2016-11-15 23:07:12 UTC) #7
Tom Sepez
OWNERS LGTM
4 years, 1 month ago (2016-11-15 23:37:28 UTC) #10
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/2505783002/1
4 years, 1 month ago (2016-11-15 23:39:24 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-15 23:55:38 UTC) #13
commit-bot: I haz the power
4 years, 1 month ago (2016-11-16 00:01:30 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1d43d5cad3f5a3533da527401200271a4f9524e5
Cr-Commit-Position: refs/heads/master@{#432295}

Powered by Google App Engine
This is Rietveld 408576698