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

Issue 12330137: Allow normal users to change per session flags. (Closed)

Created:
7 years, 10 months ago by pastarmovj
Modified:
7 years, 9 months ago
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, arv+watch_chromium.org
Visibility:
Public.

Description

Allow normal users to change per session flags. This is the first step towards better support for about:flags on ChromeOS. It allows users to specify flags that will be applied only after they log in thus they will not influence the login profile. No non-owner flags will be applied until chromium-os:39249 is implemented. BUG=39248 TEST=Open about flags as a non-owner and the flags should be editable but will not have any effect yet. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186447

Patch Set 1 : . #

Patch Set 2 : Rebased to ToT. #

Total comments: 8

Patch Set 3 : Addressed comments. #

Patch Set 4 : Make the owner check non-racy. #

Patch Set 5 : Make the mac happy. #

Patch Set 6 : Better owner handling. #

Patch Set 7 : Addressed comments from Offline discussion with Nico. #

Total comments: 10

Patch Set 8 : Adressed comments. #

Total comments: 2

Patch Set 9 : Add more documentation. #

Total comments: 2

Patch Set 10 : Addressed comment. #

Patch Set 11 : Rebased to ToT. #

Patch Set 12 : Fix include for a moved file. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -58 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/flags.css View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/flags.html View 1 2 1 chunk +5 lines, -1 line 0 comments Download
D chrome/browser/resources/flags_warning.html View 1 chunk +0 lines, -35 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.h View 1 2 3 4 5 6 7 8 2 chunks +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/flags_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +64 lines, -20 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
pastarmovj
Hi Mattias, Please review this first step towards per user flags. As already obvious from ...
7 years, 10 months ago (2013-02-26 15:53:10 UTC) #1
Mattias Nissler (ping if slow)
A couple of comments, but you should get somebody who feels responsible for flags_ui.{h,cc} to ...
7 years, 10 months ago (2013-02-26 16:27:35 UTC) #2
pastarmovj
Adding James and Ivan for OWNER reviews. @Mattias: PTAL. https://codereview.chromium.org/12330137/diff/1010/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/12330137/diff/1010/chrome/app/generated_resources.grd#newcode6139 chrome/app/generated_resources.grd:6139: ...
7 years, 10 months ago (2013-02-26 17:23:47 UTC) #3
Ivan Korotkov
chromeos LGTM
7 years, 10 months ago (2013-02-26 17:45:31 UTC) #4
pastarmovj
@Nico: I saw you touched a lot of the about:flags code so I though it ...
7 years, 9 months ago (2013-02-28 12:32:12 UTC) #5
Nico
Can you describe the flow how this is going to work more? Right now it's: ...
7 years, 9 months ago (2013-02-28 12:37:41 UTC) #6
pastarmovj
On 2013/02/28 12:37:41, Nico wrote: > Can you describe the flow how this is going ...
7 years, 9 months ago (2013-03-01 12:36:35 UTC) #7
Mattias Nissler (ping if slow)
https://codereview.chromium.org/12330137/diff/23001/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/12330137/diff/23001/chrome/browser/chromeos/login/login_utils.cc#newcode288 chrome/browser/chromeos/login/login_utils.cc:288: // TODO(pastarmovj): Restart the browser and apply any flags ...
7 years, 9 months ago (2013-03-02 22:43:49 UTC) #8
pastarmovj
https://codereview.chromium.org/12330137/diff/23001/chrome/browser/chromeos/login/login_utils.cc File chrome/browser/chromeos/login/login_utils.cc (right): https://codereview.chromium.org/12330137/diff/23001/chrome/browser/chromeos/login/login_utils.cc#newcode288 chrome/browser/chromeos/login/login_utils.cc:288: // TODO(pastarmovj): Restart the browser and apply any flags ...
7 years, 9 months ago (2013-03-04 14:31:51 UTC) #9
pastarmovj
This time adding James correctly with his Chromium.org address. @James: Please review this as owner ...
7 years, 9 months ago (2013-03-05 15:05:59 UTC) #10
Nico
Looks fine. Have you talked to the ux leads about the open UI question we ...
7 years, 9 months ago (2013-03-05 15:11:08 UTC) #11
pastarmovj
I started a mail thread with Glen Murphy about that today. Offering him the two ...
7 years, 9 months ago (2013-03-05 15:23:13 UTC) #12
Nico
ok, lgtm Are you planning to add any test coverage for the cros-specific path?
7 years, 9 months ago (2013-03-05 15:25:20 UTC) #13
James Hawkins
LGTM with nit. https://codereview.chromium.org/12330137/diff/33002/chrome/browser/ui/webui/flags_ui.cc File chrome/browser/ui/webui/flags_ui.cc (right): https://codereview.chromium.org/12330137/diff/33002/chrome/browser/ui/webui/flags_ui.cc#newcode65 chrome/browser/ui/webui/flags_ui.cc:65: // Set the strings to show ...
7 years, 9 months ago (2013-03-06 00:16:56 UTC) #14
pastarmovj
Thanks for the reviews everyone. The CL is good rebased to ToT and going for ...
7 years, 9 months ago (2013-03-06 13:45:44 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/12330137/43001
7 years, 9 months ago (2013-03-06 13:49:17 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 9 months ago (2013-03-06 14:14:07 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/12330137/46003
7 years, 9 months ago (2013-03-06 14:15:16 UTC) #18
commit-bot: I haz the power
7 years, 9 months ago (2013-03-06 16:26:58 UTC) #19
Message was sent while issue was closed.
Change committed as 186447

Powered by Google App Engine
This is Rietveld 408576698