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

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

Issue 4704006: Add version information to the policy templates (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix typo in merge Created 10 years, 1 month 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_strings_writer_unittest.py
diff --git a/tools/grit/grit/format/policy_templates/writers/plist_strings_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/plist_strings_writer_unittest.py
index 6df8f84cc41a9a423d9371b556ec65312b51cdfc..1fc19c8a144852a540557a882fc020ea9bf0932d 100644
--- a/tools/grit/grit/format/policy_templates/writers/plist_strings_writer_unittest.py
+++ b/tools/grit/grit/format/policy_templates/writers/plist_strings_writer_unittest.py
@@ -57,7 +57,7 @@ class PListStringsWriterUnittest(writer_unittest_common.WriterUnittestCommon):
'policies': [{
'name': 'MainPolicy',
'type': 'main',
- 'annotations': {'platforms': ['mac']},
+ 'supported_on': ['chrome.mac:8-'],
}],
},
],
@@ -96,7 +96,7 @@ class PListStringsWriterUnittest(writer_unittest_common.WriterUnittestCommon):
'policies': [{
'name': 'StringPolicy',
'type': 'string',
- 'annotations': {'platforms': ['mac']},
+ 'supported_on': ['chrome.mac:8-'],
}],
},
],
@@ -141,7 +141,7 @@ With a newline.</message>
{'name': 'ProxyServerDisabled', 'value': '0'},
{'name': 'ProxyServerAutoDetect', 'value': '1'},
],
- 'annotations': {'platforms': ['mac']},
+ 'supported_on': ['chrome.mac:8-'],
}],
},
],
@@ -184,7 +184,7 @@ With a newline.</message>
'policies': [{
'name': 'NonMacPolicy',
'type': 'string',
- 'annotations': {'platforms': ['win', 'linux']},
+ 'supported_on': ['chrome_os:8-'],
}],
},
],

Powered by Google App Engine
This is Rietveld 408576698