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

Unified Diff: grit/format/policy_templates/writers/ios_plist_writer.py

Issue 631223003: Include chromium version number in policy templates (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 2 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: grit/format/policy_templates/writers/ios_plist_writer.py
===================================================================
--- grit/format/policy_templates/writers/ios_plist_writer.py (revision 177)
+++ grit/format/policy_templates/writers/ios_plist_writer.py (working copy)
@@ -97,6 +97,8 @@
self._plist.attributes['version'] = '1.0'
self._root_dict = self.AddElement(self._plist, 'dict')
self.AddComment(self._root_dict, CHROME_POLICY_COMMENT)
+ if self._GetChromiumVersionString() is not None:
+ self.AddComment(self._root_dict, ''' ''' + self.config['build'] + ''' version: ''' + self._GetChromiumVersionString() + ''' ''')
pastarmovj 2014/10/07 14:54:35 Line too long; triple quotes.
cschuet1 2014/10/07 15:42:46 Done.
self._dict = self._AddKeyValuePair(self._root_dict, 'ChromePolicy', 'dict')
self._encoded_plist.attributes['version'] = '1.0'

Powered by Google App Engine
This is Rietveld 408576698