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

Issue 23983031: Owner flags storage should not save the flags names but the actual switches. (Closed)

Created:
7 years, 3 months ago by pastarmovj
Modified:
7 years, 3 months ago
Reviewers:
Dmitry Polukhin, Nico
CC:
chromium-reviews, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Owner flags storage should not save the flags names but the actual switches. These are directly applied by the session manager which can not resolve them. It fixed an issue with the flags stored in the device settings being the flag names and not the actual switches as is required by the session manager causing the flags not to be applied to the login screen if the flag and the switch don't happen to coincide and to browser restarts even for the owner which should not happen. BUG=280935 TEST=Unit tests + manual testing as described in the bug. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=223353

Patch Set 1 : . #

Patch Set 2 : Addressed suggestion. #

Total comments: 4

Patch Set 3 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -32 lines) Patch
M chrome/browser/about_flags.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 5 chunks +21 lines, -13 lines 0 comments Download
M chrome/browser/about_flags_unittest.cc View 1 2 13 chunks +24 lines, -14 lines 0 comments Download
M chrome/browser/chrome_browser_main.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_utils.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/owner_flags_storage.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pastarmovj
Hi Dmitry and Nico, can you please review this CL? It fixed an issue with ...
7 years, 3 months ago (2013-09-12 13:13:33 UTC) #1
pastarmovj
On 2013/09/12 13:13:33, pastarmovj wrote: > Hi Dmitry and Nico, > can you please review ...
7 years, 3 months ago (2013-09-12 13:44:44 UTC) #2
Dmitry Polukhin
LGTM c/b/c
7 years, 3 months ago (2013-09-12 19:45:18 UTC) #3
Nico
My feedback is the same as last time when you added a bool parameter: enums ...
7 years, 3 months ago (2013-09-12 21:40:24 UTC) #4
Nico
7 years, 3 months ago (2013-09-12 21:40:28 UTC) #5
pastarmovj
Thanks for the reviews guys! Nico PTAL.
7 years, 3 months ago (2013-09-13 13:29:09 UTC) #6
Nico
lgtm https://codereview.chromium.org/23983031/diff/10001/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): https://codereview.chromium.org/23983031/diff/10001/chrome/browser/about_flags.h#newcode109 chrome/browser/about_flags.h:109: // whether it should add or not the ...
7 years, 3 months ago (2013-09-13 22:16:33 UTC) #7
pastarmovj
Thanks! https://codereview.chromium.org/23983031/diff/10001/chrome/browser/about_flags.h File chrome/browser/about_flags.h (right): https://codereview.chromium.org/23983031/diff/10001/chrome/browser/about_flags.h#newcode109 chrome/browser/about_flags.h:109: // whether it should add or not the ...
7 years, 3 months ago (2013-09-16 13:28:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pastarmovj@chromium.org/23983031/23001
7 years, 3 months ago (2013-09-16 13:28:39 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 3 months ago (2013-09-16 13:35:57 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/23983031/23001
7 years, 3 months ago (2013-09-16 14:46:11 UTC) #11
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 17:16:23 UTC) #12
Message was sent while issue was closed.
Change committed as 223353

Powered by Google App Engine
This is Rietveld 408576698