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

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

Issue 6134006: Integrate user strings into the JSON policy template file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 11 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: tools/grit/grit/format/policy_templates/writers/admx_writer.py
diff --git a/tools/grit/grit/format/policy_templates/writers/admx_writer.py b/tools/grit/grit/format/policy_templates/writers/admx_writer.py
index 164175bdfed40b28570eaef21a9eebc55ea7ed37..5c479588eb5301618f6b0ea5d8ad6ed9eece9b82 100644
--- a/tools/grit/grit/format/policy_templates/writers/admx_writer.py
+++ b/tools/grit/grit/format/policy_templates/writers/admx_writer.py
@@ -6,12 +6,12 @@ from xml.dom import minidom
from grit.format.policy_templates.writers import xml_formatted_writer
-def GetWriter(config, messages):
+def GetWriter(config):
'''Factory method for instanciating the ADMXWriter. Every Writer needs a
GetWriter method because the TemplateFormatter uses this method to
instantiate a Writer.
'''
- return ADMXWriter(['win'], config, messages)
+ return ADMXWriter(['win'], config)
class ADMXWriter(xml_formatted_writer.XMLFormattedWriter):

Powered by Google App Engine
This is Rietveld 408576698