Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: manifest.json.tmpl

Issue 29333461: Issue 3516 - Add support for optional permissions (Closed)
Patch Set: Change re.split to .split Created Jan. 14, 2016, 5:01 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | packagerChrome.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: manifest.json.tmpl
diff --git a/manifest.json.tmpl b/manifest.json.tmpl
index 80fe077817368796de945aa6dc833e86215cdbc0..b3fdbd39c9b893818438cd0b04fd449be1c60389 100644
--- a/manifest.json.tmpl
+++ b/manifest.json.tmpl
@@ -58,6 +58,10 @@
"permissions": {{permissions|json}},
{%- endif %}
+ {%- if optionalPermissions %}
+ "optional_permissions": {{optionalPermissions|json}},
+ {%- endif %}
+
{%- if backgroundScripts %}
"background": {
"scripts": {{backgroundScripts|json}}
« no previous file with comments | « no previous file | packagerChrome.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld