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

Issue 2544693002: [Chrome OS] Add a chrome os device wallpaper policy. (Closed)

Created:
4 years ago by xdai1
Modified:
4 years ago
CC:
chromium-reviews, asvitkine+watch_chromium.org, tnagel+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chrome OS] Add a chrome os device wallpaper policy. Today, even if domain admins set a wallpaper policy, every device shows up with the branding of the OEM until a user logs into the device (and then the user wallpaper policy kicks in). We introduce a new device policy in this CL for domain admins to set a device level policy rather than a user level policy for setting a wallpaper. That way the wallpaper will change after being enrolled to the domain without requiring users to log in. This only impacts the startscreen wallpaper, if the domain admin has set a different wallpaper in the user policy or has allowed the users to select their own wallpaper, that one will be displayed within a session. Note this CL only introduces the policy, the implementation to reflect the policy is addressed in another CL: https://codereview.chromium.org/2572793003/. BUG=475998 Committed: https://crrev.com/0823eab840a0a2c22692be4c21870a0c51e07e0e Cr-Commit-Position: refs/heads/master@{#438592}

Patch Set 1 : . #

Patch Set 2 : Fix the compile error. #

Patch Set 3 : Rebase. Modify the proto to be consistent with existing user wallpaper image proto. #

Total comments: 4

Patch Set 4 : Address pastarmovj@'s comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -1 line) Patch
M chrome/browser/chromeos/policy/device_policy_decoder_chromeos.cc View 1 2 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/policy/proto/chrome_device_policy.proto View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 1 2 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chromeos/settings/cros_settings_names.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 2 chunks +33 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (23 generated)
xdai1
Hi bartfab@, achuith@, asvitkine@, could you help review this CL please? Thanks! bartfab@: all achuith@: ...
4 years ago (2016-12-01 19:11:49 UTC) #7
achuithb
On 2016/12/01 19:11:49, xdai1 wrote: > Hi bartfab@, achuith@, asvitkine@, could you help review this ...
4 years ago (2016-12-01 20:32:59 UTC) #10
Alexei Svitkine (slow)
lgtm
4 years ago (2016-12-02 17:15:58 UTC) #11
xdai1
pastarmovj@, could you help review this CL please? Seems bartfab@ will be OOO until Jan. ...
4 years ago (2016-12-13 22:45:06 UTC) #16
pastarmovj
policy lgtm with two nits. https://codereview.chromium.org/2544693002/diff/140001/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/2544693002/diff/140001/chrome/test/data/policy/policy_test_cases.json#newcode3031 chrome/test/data/policy/policy_test_cases.json:3031: "hash": "examplewallpaperexamplewallpaperexamplewallpaperexamplewallpaper" nit: does ...
4 years ago (2016-12-14 10:55:02 UTC) #22
xdai1
pastarmovj@, I've addressed your comments. Thanks for your review! https://codereview.chromium.org/2544693002/diff/140001/chrome/test/data/policy/policy_test_cases.json File chrome/test/data/policy/policy_test_cases.json (right): https://codereview.chromium.org/2544693002/diff/140001/chrome/test/data/policy/policy_test_cases.json#newcode3031 chrome/test/data/policy/policy_test_cases.json:3031: ...
4 years ago (2016-12-14 18:22:25 UTC) #24
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/2544693002/160001
4 years ago (2016-12-14 18:24:38 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:160001)
4 years ago (2016-12-14 19:35:00 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-14 19:36:40 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0823eab840a0a2c22692be4c21870a0c51e07e0e
Cr-Commit-Position: refs/heads/master@{#438592}

Powered by Google App Engine
This is Rietveld 408576698