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

Issue 13467023: Add differentiation between owner only and common flags on ChromeOS. (Closed)

Created:
7 years, 8 months ago by pastarmovj
Modified:
7 years, 8 months ago
Reviewers:
Nico
CC:
chromium-reviews
Visibility:
Public.

Description

Add differentiation between owner only and common flags on ChromeOS. Some flags require to be active on the login screen and those can only be activated from the owner account. BUG=chromium-os:39248 TEST=Open about:flags from non-owner account and check that "ChromeOS (owner only)" flags are grayed out. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194890

Patch Set 1 #

Total comments: 3

Patch Set 2 : Reduced the mixing of platfrom and ownership. #

Patch Set 3 : Make the owner param an enum. #

Total comments: 6

Patch Set 4 : Addressed comments. #

Patch Set 5 : Fixed one forgotten place to replace. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -18 lines) Patch
M chrome/browser/about_flags.h View 1 2 3 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 8 chunks +19 lines, -9 lines 0 comments Download
M chrome/browser/about_flags_unittest.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.cc View 1 2 3 4 5 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pastarmovj
Hey Nico, can you please review this rather minimal change to the flags UI to ...
7 years, 8 months ago (2013-04-08 15:35:46 UTC) #1
Nico
* Mixing the owners flags with the OS field seems fairly heavy-handed. Is there no ...
7 years, 8 months ago (2013-04-08 19:24:10 UTC) #2
Nico
7 years, 8 months ago (2013-04-08 19:24:13 UTC) #3
pastarmovj
Thanks for the quick response! I can see your point but also I believe this ...
7 years, 8 months ago (2013-04-09 09:17:49 UTC) #4
Nico
https://codereview.chromium.org/13467023/diff/1/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): https://codereview.chromium.org/13467023/diff/1/chrome/browser/about_flags.h#newcode129 chrome/browser/about_flags.h:129: // by the OS enum above. On 2013/04/09 09:17:49, ...
7 years, 8 months ago (2013-04-09 15:38:26 UTC) #5
pastarmovj
So what do you think about the new version which doesn't mix ownership checks with ...
7 years, 8 months ago (2013-04-11 11:38:33 UTC) #6
Nico
I like patch set 2 more. I'd still use an enum instead of a bool ...
7 years, 8 months ago (2013-04-12 04:29:45 UTC) #7
pastarmovj
On 2013/04/12 04:29:45, Nico wrote: > I like patch set 2 more. I'd still use ...
7 years, 8 months ago (2013-04-15 15:30:16 UTC) #8
Nico
lgtm with non-nit comments addressed (nits are optional). Sorry for the delayed review comments. https://codereview.chromium.org/13467023/diff/15001/chrome/browser/about_flags.cc ...
7 years, 8 months ago (2013-04-16 21:40:24 UTC) #9
pastarmovj
Thanks for the review! I will land once the CQ is running again. https://codereview.chromium.org/13467023/diff/15001/chrome/browser/about_flags.cc File ...
7 years, 8 months ago (2013-04-17 16:03:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/13467023/26002
7 years, 8 months ago (2013-04-18 08:04:33 UTC) #11
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 11:53:59 UTC) #12
Message was sent while issue was closed.
Change committed as 194890

Powered by Google App Engine
This is Rietveld 408576698