Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 { | 1 { |
| 2 {{ MANIFEST_KEY_FOR_UNOFFICIAL_BUILD }} | 2 {{ MANIFEST_KEY_FOR_UNOFFICIAL_BUILD }} |
| 3 "name": "__MSG_PRODUCT_NAME__", | 3 "name": "__MSG_PRODUCT_NAME__", |
| 4 "version": "{{ FULL_APP_VERSION }}", | 4 "version": "{{ FULL_APP_VERSION }}", |
| 5 "description": "__MSG_PRODUCT_DESCRIPTION__", | 5 "description": "__MSG_PRODUCT_DESCRIPTION__", |
| 6 "manifest_version": 2, | 6 "manifest_version": 2, |
| 7 "default_locale": "en", | 7 "default_locale": "en", |
| 8 "minimum_chrome_version": "32", | 8 "minimum_chrome_version": "32", |
| 9 "app": { | 9 "app": { |
| 10 {% if webapp_type == 'v1' %} | 10 {% if webapp_type == 'v1' %} |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 "content_security_policy": "default-src 'self'; script-src 'self' {{ TALK_GADG ET_HOST }} https://www.gstatic.com; style-src 'self' https://fonts.googleapis.co m; img-src 'self' {{ TALK_GADGET_HOST }} data:; font-src *; connect-src 'self' { { OAUTH2_ACCOUNTS_HOST }} {{ GOOGLE_API_HOSTS }} {{ TALK_GADGET_HOST }} https:// relay.google.com", | 46 "content_security_policy": "default-src 'self'; script-src 'self' {{ TALK_GADG ET_HOST }} https://www.gstatic.com; style-src 'self' https://fonts.googleapis.co m; img-src 'self' {{ TALK_GADGET_HOST }} data:; font-src *; connect-src 'self' { { OAUTH2_ACCOUNTS_HOST }} {{ GOOGLE_API_HOSTS }} {{ TALK_GADGET_HOST }} https:// relay.google.com", |
| 47 {% endif %} | 47 {% endif %} |
| 48 "optional_permissions": [ | 48 "optional_permissions": [ |
| 49 "<all_urls>" | 49 "<all_urls>" |
| 50 ], | 50 ], |
| 51 | 51 |
| 52 {% if webapp_type != 'v1' %} | 52 {% if webapp_type != 'v1' %} |
| 53 "oauth2": { | 53 "oauth2": { |
| 54 "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}", | 54 "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}", |
| 55 "scopes": [ | 55 "scopes": [ |
| 56 "https://www.googleapis.com/auth/chromoting https://www.googleapis.com/aut h/googletalk https://www.googleapis.com/auth/userinfo#email" | 56 {%- if USE_GCD %} |
|
Sergey Ulanov
2015/03/25 18:56:43
We don't use "%-" in other places in this file and
John Williams
2015/03/25 20:32:20
Done.
| |
| 57 "https://www.googleapis.com/auth/clouddevices", | |
| 58 {%- endif %} | |
| 59 "https://www.googleapis.com/auth/chromoting", | |
| 60 "https://www.googleapis.com/auth/googletalk", | |
| 61 "https://www.googleapis.com/auth/userinfo#email" | |
| 57 ] | 62 ] |
| 58 }, | 63 }, |
| 59 "sandbox": { | 64 "sandbox": { |
| 60 "pages": [ "wcs_sandbox.html" ] | 65 "pages": [ "wcs_sandbox.html" ] |
| 61 }, | 66 }, |
| 62 {% endif %} | 67 {% endif %} |
| 63 "permissions": [ | 68 "permissions": [ |
| 64 "{{ OAUTH2_ACCOUNTS_HOST }}/*", | 69 "{{ OAUTH2_ACCOUNTS_HOST }}/*", |
| 65 "{{ OAUTH2_API_BASE_URL }}/*", | 70 "{{ OAUTH2_API_BASE_URL }}/*", |
| 66 "{{ DIRECTORY_API_BASE_URL }}/*", | 71 "{{ DIRECTORY_API_BASE_URL }}/*", |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 91 {% endif %} | 96 {% endif %} |
| 92 ] | 97 ] |
| 93 {% if webapp_type != 'v1' %} | 98 {% if webapp_type != 'v1' %} |
| 94 ,"sockets": { | 99 ,"sockets": { |
| 95 "tcp": { | 100 "tcp": { |
| 96 "connect": "{{ XMPP_SERVER }}" | 101 "connect": "{{ XMPP_SERVER }}" |
| 97 } | 102 } |
| 98 } | 103 } |
| 99 {% endif %} | 104 {% endif %} |
| 100 } | 105 } |
| OLD | NEW |