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

Issue 2839043004: chromeos: Refactor ash SystemTrayDelegate enterprise methods to mojo (Closed)

Created:
3 years, 7 months ago by James Cook
Modified:
3 years, 7 months ago
Reviewers:
Tom Sepez, xiyuan
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, alemate+watch_chromium.org, sadrul, qsr+mojo_chromium.org, ntp-dev+reviews_chromium.org, viettrungluu+watch_chromium.org, achuith+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, noyau+watch_chromium.org, oshima+watch_chromium.org, kalyank, darin (slow to review), davemoore+watch_chromium.org, pedrosimonetti+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Refactor ash SystemTrayDelegate enterprise methods to mojo This is needed to support mustash. * Migrate code from SystemTrayDelegateChromeOS to SystemTrayClient * Migrate strings into ash_strings.grd BUG=715335 TEST=added to ash_unittests and chrome browser_tests Review-Url: https://codereview.chromium.org/2839043004 Cr-Commit-Position: refs/heads/master@{#467495} Committed: https://chromium.googlesource.com/chromium/src/+/1b67ae3a76893ee92586a28fd4b11640e28e12de

Patch Set 1 #

Total comments: 9

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -149 lines) Patch
M ash/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_strings.grd View 1 chunk +8 lines, -0 lines 0 comments Download
M ash/public/interfaces/system_tray.mojom View 1 2 chunks +7 lines, -1 line 0 comments Download
M ash/system/enterprise/tray_enterprise.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ash/system/enterprise/tray_enterprise.cc View 3 chunks +24 lines, -5 lines 0 comments Download
A ash/system/enterprise/tray_enterprise_unittest.cc View 1 1 chunk +54 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray.h View 3 chunks +5 lines, -1 line 0 comments Download
M ash/system/tray/system_tray.cc View 3 chunks +8 lines, -4 lines 0 comments Download
M ash/system/tray/system_tray_controller.h View 4 chunks +12 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_controller.cc View 2 chunks +13 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray_delegate.h View 1 chunk +0 lines, -13 lines 0 comments Download
M ash/system/tray/system_tray_delegate.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M ash/system/user/user_card_view.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/app/chromeos_strings.grdp View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/login/version_info_updater.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.h View 5 chunks +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client.cc View 5 chunks +61 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_client_browsertest.cc View 3 chunks +32 lines, -5 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.h View 5 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/ash/system_tray_delegate_chromeos.cc View 6 chunks +0 lines, -80 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
James Cook
xiyuan, please take a look at everything. tsepez, please take a look at ash mojom. ...
3 years, 7 months ago (2017-04-26 18:49:36 UTC) #4
Tom Sepez
https://codereview.chromium.org/2839043004/diff/1/ash/public/interfaces/system_tray.mojom File ash/public/interfaces/system_tray.mojom (right): https://codereview.chromium.org/2839043004/diff/1/ash/public/interfaces/system_tray.mojom#newcode29 ash/public/interfaces/system_tray.mojom:29: SetEnterpriseDomain(string enterprise_domain, bool active_directory_managed); This just updates the display, ...
3 years, 7 months ago (2017-04-26 19:29:53 UTC) #7
xiyuan
Just nits https://codereview.chromium.org/2839043004/diff/1/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2839043004/diff/1/ash/BUILD.gn#newcode1185 ash/BUILD.gn:1185: "system/enterprise/tray_enterprise_unittest.cc", Seems the file is missed from ...
3 years, 7 months ago (2017-04-26 19:55:13 UTC) #8
James Cook
xiyuan / tsepez, please take another look. https://codereview.chromium.org/2839043004/diff/1/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2839043004/diff/1/ash/BUILD.gn#newcode1185 ash/BUILD.gn:1185: "system/enterprise/tray_enterprise_unittest.cc", On ...
3 years, 7 months ago (2017-04-26 21:04:15 UTC) #10
xiyuan
lgtm
3 years, 7 months ago (2017-04-26 21:12:09 UTC) #12
Tom Sepez
lgtm
3 years, 7 months ago (2017-04-26 21:13:27 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/2839043004/20001
3 years, 7 months ago (2017-04-26 21:22:49 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-04-26 22:57:20 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1b67ae3a76893ee92586a28fd4b1...

Powered by Google App Engine
This is Rietveld 408576698