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

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

Issue 2509243003: Split off 'Google' category into separate ADMX/ADML files (Closed)
Patch Set: rebase Created 4 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/adml_writer.py
diff --git a/tools/grit/grit/format/policy_templates/writers/adml_writer.py b/tools/grit/grit/format/policy_templates/writers/adml_writer.py
index 64f8562ce362c94ce4d6d2e72d4bcdad2560ec61..431dc26f768da8580dedfe7cd27f828198a19de4 100755
--- a/tools/grit/grit/format/policy_templates/writers/adml_writer.py
+++ b/tools/grit/grit/format/policy_templates/writers/adml_writer.py
@@ -141,8 +141,7 @@ class ADMLWriter(xml_formatted_writer.XMLFormattedWriter):
recommended_name = '%s - %s' % \
(self.config['app_name'], self.messages['doc_recommended']['text'])
if build == 'chrome':
- self._AddString(self.config['win_mandatory_category_path'][0],
- 'Google')
+ # The string for category [0] ('Google') is defined in google.adml.
self._AddString(self.config['win_mandatory_category_path'][1],
self.config['app_name'])
self._AddString(self.config['win_recommended_category_path'][1],

Powered by Google App Engine
This is Rietveld 408576698