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

Unified Diff: tools/grit/grit/format/policy_templates/writers/plist_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_writer_unittest.py
diff --git a/tools/grit/grit/format/policy_templates/writers/plist_writer_unittest.py b/tools/grit/grit/format/policy_templates/writers/plist_writer_unittest.py
index bcebcaa68da223d10407dca563d6ec6c0cf396b4..88240cd6dca3892fb00ec49d1e2bbb51ca9daf2a 100644
--- a/tools/grit/grit/format/policy_templates/writers/plist_writer_unittest.py
+++ b/tools/grit/grit/format/policy_templates/writers/plist_writer_unittest.py
@@ -88,7 +88,7 @@ class PListWriterUnittest(writer_unittest_common.WriterUnittestCommon):
'policies': [{
'name': 'MainPolicy',
'type': 'main',
- 'annotations': {'platforms': ['mac']},
+ 'supported_on': ['chrome.mac:8-'],
}],
},
],
@@ -137,7 +137,7 @@ class PListWriterUnittest(writer_unittest_common.WriterUnittestCommon):
'policies': [{
'name': 'StringPolicy',
'type': 'string',
- 'annotations': {'platforms': ['mac']},
+ 'supported_on': ['chrome.mac:8-'],
}],
},
],
@@ -190,7 +190,7 @@ class PListWriterUnittest(writer_unittest_common.WriterUnittestCommon):
{'name': 'ProxyServerDisabled', 'value': '0'},
{'name': 'ProxyServerAutoDetect', 'value': '1'},
],
- 'annotations': {'platforms': ['mac']},
+ 'supported_on': ['chrome.mac:8-'],
}],
},
],
@@ -247,7 +247,7 @@ class PListWriterUnittest(writer_unittest_common.WriterUnittestCommon):
'policies': [{
'name': 'NonMacPolicy',
'type': 'string',
- 'annotations': {'platforms': ['win', 'linux']},
+ 'supported_on': ['chrome.linux:8-', 'chrome.win:7-'],
}],
},
],

Powered by Google App Engine
This is Rietveld 408576698