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

Issue 7171018: User Settings on CrOS now shows the managed banner for enrolled devices. (Closed)

Created:
9 years, 6 months ago by pastarmovj
Modified:
9 years, 5 months ago
CC:
chromium-reviews, arv (Not doing code reviews), davemoore+watch_chromium.org
Visibility:
Public.

Description

User Settings on CrOS now shows the managed banner for enrolled devices. ...instead of the the "These settings may only be modified by the owner:<blank>" as it was until now. Also correctly wired the managed state of the local_state cache of SignedSettings prefs to be set to true when the device is enrolled. BUG=chromium-os:16058 TEST=Enroll the device and go to user settings. The yellow banner should be there. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91825

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -34 lines) Patch
M chrome/browser/chromeos/user_cros_settings_provider.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/policy/managed_prefs_banner_base.cc View 2 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/resources/options/chromeos/accounts_options.js View 1 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/options/options_util.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/accounts_options_handler.h View 3 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/accounts_options_handler.cc View 3 chunks +3 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
pastarmovj
Can you please have a look at that CL.
9 years, 6 months ago (2011-06-15 14:44:28 UTC) #1
Mattias Nissler (ping if slow)
http://codereview.chromium.org/7171018/diff/1/chrome/browser/resources/options/chromeos/accounts_options.js File chrome/browser/resources/options/chromeos/accounts_options.js (right): http://codereview.chromium.org/7171018/diff/1/chrome/browser/resources/options/chromeos/accounts_options.js#newcode50 chrome/browser/resources/options/chromeos/accounts_options.js:50: OptionsPage.updateManagedBannerVisibility(); Is this call really needed? I guess you ...
9 years, 6 months ago (2011-06-15 15:02:59 UTC) #2
pastarmovj
Updated and fired some trybots. http://codereview.chromium.org/7171018/diff/1/chrome/browser/resources/options/chromeos/accounts_options.js File chrome/browser/resources/options/chromeos/accounts_options.js (right): http://codereview.chromium.org/7171018/diff/1/chrome/browser/resources/options/chromeos/accounts_options.js#newcode50 chrome/browser/resources/options/chromeos/accounts_options.js:50: OptionsPage.updateManagedBannerVisibility(); On 2011/06/15 15:02:59, ...
9 years, 6 months ago (2011-06-15 15:57:07 UTC) #3
Mattias Nissler (ping if slow)
LGTM if you get some WebUI person to agree with me :)
9 years, 6 months ago (2011-06-20 08:34:42 UTC) #4
pastarmovj
Hi Stuart, I have fixed the issue that on ChromeOS devices that are enrolled thus ...
9 years, 6 months ago (2011-06-27 15:40:18 UTC) #5
stuartmorgan
LGTM
9 years, 5 months ago (2011-06-28 18:33:36 UTC) #6
commit-bot: I haz the power
9 years, 5 months ago (2011-07-08 09:09:36 UTC) #7
Change committed as 91825

Powered by Google App Engine
This is Rietveld 408576698