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

Issue 352163003: Added support for string-enum-list. (Closed)

Created:
6 years, 5 months ago by Andrew T Wilson (Slow)
Modified:
6 years, 5 months ago
Reviewers:
Joao da Silva
CC:
grit-developer_googlegroups.com
Base URL:
https://chromium.googlesource.com/external/grit-i18n.git@master
Visibility:
Public.

Description

Added support for string-enum-list. Added string-enum-list as a valid policy type. This acts just like 'list' in terms of the policy templates generated, but the documentation generated is different (it allows enumerating the valid values). BUG=none

Patch Set 1 #

Total comments: 13

Patch Set 2 : Review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+521 lines, -11 lines) Patch
M grit/format/policy_templates/policy_template_generator.py View 1 chunk +1 line, -1 line 0 comments Download
M grit/format/policy_templates/policy_template_generator_unittest.py View 1 chunk +23 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/adm_writer.py View 2 chunks +2 lines, -1 line 0 comments Download
M grit/format/policy_templates/writers/adm_writer_unittest.py View 1 1 chunk +80 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/adml_writer.py View 1 chunk +1 line, -1 line 0 comments Download
M grit/format/policy_templates/writers/adml_writer_unittest.py View 1 chunk +38 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/admx_writer.py View 1 chunk +1 line, -1 line 0 comments Download
M grit/format/policy_templates/writers/admx_writer_unittest.py View 1 chunk +27 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/doc_writer.py View 3 chunks +3 lines, -2 lines 0 comments Download
M grit/format/policy_templates/writers/doc_writer_unittest.py View 2 chunks +35 lines, -1 line 0 comments Download
M grit/format/policy_templates/writers/ios_plist_writer_unittest.py View 1 chunk +15 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/json_writer_unittest.py View 1 chunk +33 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/plist_strings_writer.py View 1 chunk +1 line, -1 line 0 comments Download
M grit/format/policy_templates/writers/plist_strings_writer_unittest.py View 1 1 chunk +105 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/plist_writer.py View 2 chunks +2 lines, -1 line 0 comments Download
M grit/format/policy_templates/writers/plist_writer_unittest.py View 1 1 chunk +121 lines, -0 lines 0 comments Download
M grit/format/policy_templates/writers/reg_writer.py View 2 chunks +2 lines, -2 lines 0 comments Download
M grit/format/policy_templates/writers/reg_writer_unittest.py View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Andrew T Wilson (Slow)
PTAL
6 years, 5 months ago (2014-06-25 16:08:00 UTC) #1
Joao da Silva
lgtm See the suggestion inline for the plist_writer. It's not a blocker but would make ...
6 years, 5 months ago (2014-06-25 16:46:57 UTC) #2
Andrew T Wilson (Slow)
PTAL, and if it still looks good, please land for me. https://codereview.chromium.org/352163003/diff/1/grit/format/policy_templates/writers/adm_writer_unittest.py File grit/format/policy_templates/writers/adm_writer_unittest.py (right): ...
6 years, 5 months ago (2014-06-26 08:08:57 UTC) #3
Joao da Silva
lgtm, I'll get this landed. https://codereview.chromium.org/352163003/diff/1/grit/format/policy_templates/writers/plist_writer_unittest.py File grit/format/policy_templates/writers/plist_writer_unittest.py (right): https://codereview.chromium.org/352163003/diff/1/grit/format/policy_templates/writers/plist_writer_unittest.py#newcode282 grit/format/policy_templates/writers/plist_writer_unittest.py:282: <string>string</string> On 2014/06/26 08:08:56, ...
6 years, 5 months ago (2014-06-26 11:34:07 UTC) #4
Joao da Silva
6 years, 5 months ago (2014-06-26 11:39:02 UTC) #5
Landed as https://code.google.com/p/grit-i18n/source/detail?r=170. I'll close
this issue now; you can roll grit in DEPS to 170 now.

Powered by Google App Engine
This is Rietveld 408576698