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

Unified Diff: tools/grit/grit/format/policy_templates/writers/plist_writer.py

Issue 6176005: Support int-typed policies in policy template generator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comment Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/grit/grit/format/policy_templates/writers/plist_writer.py
diff --git a/tools/grit/grit/format/policy_templates/writers/plist_writer.py b/tools/grit/grit/format/policy_templates/writers/plist_writer.py
index 53461d9cda74ffae010ea18c20d337a91b26817c..46b00b39f77f1e2fd327acb71e22ba27868dd5cb 100644
--- a/tools/grit/grit/format/policy_templates/writers/plist_writer.py
+++ b/tools/grit/grit/format/policy_templates/writers/plist_writer.py
@@ -24,6 +24,7 @@ class PListWriter(xml_formatted_writer.XMLFormattedWriter):
STRING_TABLE = 'Localizable.strings'
TYPE_TO_INPUT = {
'string': 'string',
+ 'int': 'integer',
'int-enum': 'integer',
'string-enum': 'string',
'main': 'boolean',

Powered by Google App Engine
This is Rietveld 408576698