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

Issue 2207003002: Clears GuestModeEnabled and AddPersonEnabled user prefs if MD settings is enabled (Closed)

Created:
4 years, 4 months ago by Moe
Modified:
4 years, 4 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clears GuestModeEnabled and AddPersonEnabled user prefs if MD settings is enabled. MD settings gets rid of the checkboxes that enabled browsing as guest and adding new profiles. This CL clears the two prefs previously set by users. This should have no effect if the prefs are set by policy. This logic can be removed once all users' prefs are cleared BUG=630100 Committed: https://crrev.com/8c440d2c549779305eb5439ae451158e694b5214 Committed: https://crrev.com/131e08f78c7d001d959dce36bcbcbc3f988395ab Cr-Original-Commit-Position: refs/heads/master@{#410105} Cr-Commit-Position: refs/heads/master@{#410144}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Total comments: 4

Patch Set 3 : Addressed comments #

Total comments: 2

Patch Set 4 : Addressed comment #

Patch Set 5 : Fixed compilation error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -0 lines) Patch
M chrome/browser/ui/webui/signin/user_manager_screen_handler.cc View 1 2 3 4 4 chunks +21 lines, -0 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
Moe
Hi, Please review this CL.
4 years, 4 months ago (2016-08-03 15:37:25 UTC) #4
rkaplow
lgtm actions lg https://codereview.chromium.org/2207003002/diff/1/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2207003002/diff/1/tools/metrics/actions/actions.xml#newcode14798 tools/metrics/actions/actions.xml:14798: <action name="UserManager_Cleared_Guest_Mode_Enabled_Add_Person_Enabled_Prefs"> this is ok, but ...
4 years, 4 months ago (2016-08-03 17:05:29 UTC) #5
Moe
https://codereview.chromium.org/2207003002/diff/1/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2207003002/diff/1/tools/metrics/actions/actions.xml#newcode14798 tools/metrics/actions/actions.xml:14798: <action name="UserManager_Cleared_Guest_Mode_Enabled_Add_Person_Enabled_Prefs"> On 2016/08/03 17:05:29, rkaplow wrote: > this ...
4 years, 4 months ago (2016-08-03 19:01:28 UTC) #6
michaelpg
https://codereview.chromium.org/2207003002/diff/20001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc File chrome/browser/ui/webui/signin/user_manager_screen_handler.cc (right): https://codereview.chromium.org/2207003002/diff/20001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc#newcode302 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc:302: const PrefService::Preference* guestModeEnabledPref = var_names_like_this https://codereview.chromium.org/2207003002/diff/20001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc#newcode308 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc:308: (guestModeEnabledPref->IsUserControlled() || ...
4 years, 4 months ago (2016-08-04 17:59:46 UTC) #7
Moe
https://codereview.chromium.org/2207003002/diff/20001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc File chrome/browser/ui/webui/signin/user_manager_screen_handler.cc (right): https://codereview.chromium.org/2207003002/diff/20001/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc#newcode302 chrome/browser/ui/webui/signin/user_manager_screen_handler.cc:302: const PrefService::Preference* guestModeEnabledPref = On 2016/08/04 17:59:45, michaelpg wrote: ...
4 years, 4 months ago (2016-08-04 19:06:32 UTC) #8
michaelpg
lgtm so this completely fixes the bug, then? https://codereview.chromium.org/2207003002/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2207003002/diff/40001/tools/metrics/actions/actions.xml#newcode14850 tools/metrics/actions/actions.xml:14850: prefs::kBrowserAddPersonEnabled ...
4 years, 4 months ago (2016-08-04 19:23:41 UTC) #9
Moe
Let's hope so :) https://codereview.chromium.org/2207003002/diff/40001/tools/metrics/actions/actions.xml File tools/metrics/actions/actions.xml (right): https://codereview.chromium.org/2207003002/diff/40001/tools/metrics/actions/actions.xml#newcode14850 tools/metrics/actions/actions.xml:14850: prefs::kBrowserAddPersonEnabled are cleared because they ...
4 years, 4 months ago (2016-08-04 20:11:18 UTC) #12
Roger Tawa OOO till Jul 10th
lgtm
4 years, 4 months ago (2016-08-05 15:29:15 UTC) #15
Moe
On 2016/08/05 15:29:15, Roger Tawa wrote: > lgtm Thank you.
4 years, 4 months ago (2016-08-05 17:55:06 UTC) #16
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/2207003002/60001
4 years, 4 months ago (2016-08-05 17:55:44 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-05 18:00:33 UTC) #21
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/8c440d2c549779305eb5439ae451158e694b5214 Cr-Commit-Position: refs/heads/master@{#410105}
4 years, 4 months ago (2016-08-05 18:03:32 UTC) #23
anthonyvd
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/2218173002/ by anthonyvd@chromium.org. ...
4 years, 4 months ago (2016-08-05 18:12:30 UTC) #24
findit-for-me
FYI: Findit try jobs (rerunning failed compile or tests) identified this CL at revision 410105 ...
4 years, 4 months ago (2016-08-05 18:22:57 UTC) #25
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/2207003002/80001
4 years, 4 months ago (2016-08-05 19:31:05 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-05 19:36:26 UTC) #35
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 19:38:37 UTC) #37
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/131e08f78c7d001d959dce36bcbcbc3f988395ab
Cr-Commit-Position: refs/heads/master@{#410144}

Powered by Google App Engine
This is Rietveld 408576698