Args:
name: Name of the referenced ADML string.
'''
+ name = name.replace('.', '_')
return '$(string.' + name + ')'
def _AdmlStringExplain(self, name):
Args:
name: Name of the referenced ADML explanation.
'''
+ name = name.replace('.', '_')
return '$(string.' + name + '_Explain)'
def _AdmlPresentation(self, name):
attributes = {
'id': name,
'valueName': name,
+ 'maxLength': '1000000',
}
self.AddElement(parent, 'text', attributes)
'''
dom_impl = minidom.getDOMImplementation('')
self._doc = dom_impl.createDocument(None, 'policyDefinitions', None)
+ if self._GetChromiumVersionString() is not None:
+ self.AddComment(self._doc.documentElement, self.config['build'] + \
+ ' version: ' + self._GetChromiumVersionString())
policy_definitions_elem = self._doc.documentElement
policy_definitions_elem.attributes['revision'] = '1.0'