Index: components/policy/tools/template_writers/writers/chromeos_adml_writer.py |
diff --git a/components/policy/tools/template_writers/writers/chromeos_adml_writer.py b/components/policy/tools/template_writers/writers/chromeos_adml_writer.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..32c2073c7ea325e3c897a0e303a231b31a295039 |
--- /dev/null |
+++ b/components/policy/tools/template_writers/writers/chromeos_adml_writer.py |
@@ -0,0 +1,16 @@ |
+#!/usr/bin/env python |
+# Copyright 2017 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+ |
+import base64 |
+ |
+from writers import adml_writer |
+ |
+ |
+def GetWriter(config): |
+ '''Factory method for creating ADMLWriter objects for the Chrome OS platform. |
+ See the constructor of TemplateWriter for description of arguments. |
+ ''' |
+ return adml_writer.ADMLWriter(['chrome_os'], config) |