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

Issue 546703004: Add mandatory policy setting for template generation (Closed)

Created:
6 years, 3 months ago by kaliamoorthi
Modified:
6 years, 3 months ago
CC:
chromium-reviews, joaodasilva+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add optional mandatory policy setting for template generation This CL modifies template writer such that mandatory policy templates are not generated when a flag is set. BUG=410856 Committed: https://crrev.com/f2ea30b3bf5361dc284e0e8375a4aabc34f0e5f7 Cr-Commit-Position: refs/heads/master@{#293917}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Sets can_be_mandatory flag for SessionLocales policy #

Patch Set 3 : Performs a grit roll and fixes previous comments #

Patch Set 4 : Rebased and removed setting for SessionLocale #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 3 chunks +8 lines, -0 lines 0 comments Download
M components/policy/tools/generate_policy_source.py View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
kaliamoorthi
PTAL
6 years, 3 months ago (2014-09-08 09:41:13 UTC) #2
Joao da Silva
+bartfab: please confirm that SessionLocales can't be mandatory https://codereview.chromium.org/546703004/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/546703004/diff/1/components/policy/resources/policy_templates.json#newcode6636 components/policy/resources/policy_templates.json:6636: 'can_be_recommended': ...
6 years, 3 months ago (2014-09-08 09:55:27 UTC) #4
kaliamoorthi
PTAL https://codereview.chromium.org/546703004/diff/1/components/policy/resources/policy_templates.json File components/policy/resources/policy_templates.json (right): https://codereview.chromium.org/546703004/diff/1/components/policy/resources/policy_templates.json#newcode6636 components/policy/resources/policy_templates.json:6636: 'can_be_recommended': True, On 2014/09/08 09:55:27, Joao da Silva ...
6 years, 3 months ago (2014-09-08 10:05:00 UTC) #5
Joao da Silva
Looks good to me, 2 more points: - please wait for Bartosz to confirm before ...
6 years, 3 months ago (2014-09-08 10:17:32 UTC) #6
kaliamoorthi
PTAL, this fixes previous comments and performs a grit roll.
6 years, 3 months ago (2014-09-08 15:07:54 UTC) #8
Joao da Silva
lgtm
6 years, 3 months ago (2014-09-08 15:38:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaliamoorthi@chromium.org/546703004/60001
6 years, 3 months ago (2014-09-09 09:35:48 UTC) #11
Joao da Silva
I may be out of the loop here. Did Bartosz confirm that SessionLocales really is ...
6 years, 3 months ago (2014-09-09 09:42:28 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/64338) mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/53316) win_gpu ...
6 years, 3 months ago (2014-09-09 09:46:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaliamoorthi@chromium.org/546703004/80001
6 years, 3 months ago (2014-09-09 10:01:09 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001) as 504d7fe64e2533b27f729499479b3351dce750c8
6 years, 3 months ago (2014-09-09 11:00:20 UTC) #17
bartfab (slow)
SessionLocales is recommended-only.
6 years, 3 months ago (2014-09-09 13:58:47 UTC) #18
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:52:42 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f2ea30b3bf5361dc284e0e8375a4aabc34f0e5f7
Cr-Commit-Position: refs/heads/master@{#293917}

Powered by Google App Engine
This is Rietveld 408576698