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

Issue 2691063002: arc: Use AndroidKioskAppInfoProto.display_name() as ARC++ Kiosk app name. (Closed)

Created:
3 years, 10 months ago by Sergey Poromov
Modified:
3 years, 10 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Use AndroidKioskAppInfoProto.display_name() as ARC++ Kiosk app name. As Chrome can't get proper user-friendly Android app name by package name on sign in screen, this name is provided from management servers through device policies as AndroidKioskAppInfoProto.display_name field, that should be parsed and used as app name in Chrome UI. If the field is not present, package_name is used as before. BUG=679928 Review-Url: https://codereview.chromium.org/2691063002 Cr-Commit-Position: refs/heads/master@{#450966} Committed: https://chromium.googlesource.com/chromium/src/+/cafece6e34023641054a86d9d145cab53ef0b5b3

Patch Set 1 #

Patch Set 2 : fix post-merge nits from http://crrev.com/2451793002 #

Total comments: 11

Patch Set 3 : achuith@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -23 lines) Patch
M chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc View 1 2 3 chunks +13 lines, -11 lines 0 comments Download
M chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager_browsertest.cc View 1 2 5 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/policy/device_local_account.h View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/policy/device_local_account.cc View 5 chunks +18 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
Sergey Poromov
Adding reviewers similar to http://crrev.com/2451793002 where most of the modified code was introduced bartfab@chromium.org: Please ...
3 years, 10 months ago (2017-02-13 17:13:28 UTC) #2
peletskyi2
On 2017/02/13 17:13:28, Sergey Poromov wrote: > Adding reviewers similar to http://crrev.com/2451793002 where most of ...
3 years, 10 months ago (2017-02-14 14:11:54 UTC) #7
bartfab (slow)
lgtm
3 years, 10 months ago (2017-02-14 17:17:56 UTC) #8
Sergey Poromov
3 years, 10 months ago (2017-02-15 10:36:26 UTC) #10
achuithb
lgtm https://codereview.chromium.org/2691063002/diff/20001/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc (right): https://codereview.chromium.org/2691063002/diff/20001/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc#newcode194 chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc:194: for (std::vector<policy::DeviceLocalAccount>::const_iterator it = Might be worthwhile switching ...
3 years, 10 months ago (2017-02-16 13:41:46 UTC) #11
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/2691063002/40001
3 years, 10 months ago (2017-02-16 14:27:44 UTC) #14
Sergey Poromov
https://codereview.chromium.org/2691063002/diff/20001/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc File chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc (right): https://codereview.chromium.org/2691063002/diff/20001/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc#newcode194 chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.cc:194: for (std::vector<policy::DeviceLocalAccount>::const_iterator it = On 2017/02/16 13:41:45, achuithb wrote: ...
3 years, 10 months ago (2017-02-16 14:28:28 UTC) #15
achuithb
lgtm https://codereview.chromium.org/2691063002/diff/20001/chrome/browser/chromeos/policy/device_local_account.h File chrome/browser/chromeos/policy/device_local_account.h (right): https://codereview.chromium.org/2691063002/diff/20001/chrome/browser/chromeos/policy/device_local_account.h#newcode22 chrome/browser/chromeos/policy/device_local_account.h:22: const std::string& display_name); On 2017/02/16 14:28:28, Sergey Poromov ...
3 years, 10 months ago (2017-02-16 14:30:51 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 15:12:42 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cafece6e34023641054a86d9d145...

Powered by Google App Engine
This is Rietveld 408576698