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

Unified Diff: tools/grit/grit/format/policy_templates/writers/json_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/json_writer.py
diff --git a/tools/grit/grit/format/policy_templates/writers/json_writer.py b/tools/grit/grit/format/policy_templates/writers/json_writer.py
index 776e4f5a739e09e0d767ec32697c43a6a7f029fc..37a0d6bb56632d35291c5d02cafa7d76deb302d7 100644
--- a/tools/grit/grit/format/policy_templates/writers/json_writer.py
+++ b/tools/grit/grit/format/policy_templates/writers/json_writer.py
@@ -7,12 +7,12 @@ from xml.dom import minidom
from grit.format.policy_templates.writers import template_writer
-def GetWriter(config, messages):
+def GetWriter(config):
'''Factory method for creating JsonWriter objects.
See the constructor of TemplateWriter for description of
arguments.
'''
- return JsonWriter(['linux'], config, messages)
+ return JsonWriter(['linux'], config)
class JsonWriter(template_writer.TemplateWriter):

Powered by Google App Engine
This is Rietveld 408576698