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

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

Issue 92213002: Add support for Chrome policy type that references external data (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 7 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: grit/format/policy_templates/writers/admx_writer.py
===================================================================
--- grit/format/policy_templates/writers/admx_writer.py (revision 139)
+++ grit/format/policy_templates/writers/admx_writer.py (working copy)
@@ -253,6 +253,9 @@
policies_elem = self._active_policies_elem
policy_type = policy['type']
policy_name = policy['name']
+ if policy_type == 'external':
+ # This type can only be set through cloud policy.
+ return
attributes = {
'name': name,
« no previous file with comments | « grit/format/policy_templates/writers/adml_writer.py ('k') | grit/format/policy_templates/writers/doc_writer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698