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' %} |
11 "launch": { | 11 "launch": { |
12 "local_path": "main.html" | 12 "local_path": "main.html" |
13 } | 13 } |
14 {% else %} | 14 {% else %} |
15 "background": { | 15 "background": { |
16 "scripts": ["background.js"] | 16 "page": "background.html" |
17 } | 17 } |
18 {% endif %} | 18 {% endif %} |
19 }, | 19 }, |
20 {% if webapp_type == 'v1' %} | |
21 "background": { | |
22 "page": "background.html", | |
23 "persistent": false | |
24 }, | |
25 {% endif %} | |
Jamie
2014/08/12 20:42:54
Is this needed for this part of the CL? I don't th
kelvinp
2014/08/12 21:42:42
Done.
| |
20 "icons": { | 26 "icons": { |
21 "128": "chromoting128.webp", | 27 "128": "chromoting128.webp", |
22 "48": "chromoting48.webp", | 28 "48": "chromoting48.webp", |
23 "16": "chromoting16.webp" | 29 "16": "chromoting16.webp" |
24 }, | 30 }, |
25 {% if webapp_type == 'v1' %} | 31 {% if webapp_type == 'v1' %} |
26 "content_scripts": [ | 32 "content_scripts": [ |
27 { | 33 { |
28 "matches": [ | 34 "matches": [ |
29 "{{ OAUTH2_REDIRECT_URL }}" | 35 "{{ OAUTH2_REDIRECT_URL }}" |
(...skipping 18 matching lines...) Expand all Loading... | |
48 "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}", | 54 "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}", |
49 "scopes": [ | 55 "scopes": [ |
50 "https://www.googleapis.com/auth/chromoting https://www.googleapis.com/aut h/googletalk https://www.googleapis.com/auth/userinfo#email" | 56 "https://www.googleapis.com/auth/chromoting https://www.googleapis.com/aut h/googletalk https://www.googleapis.com/auth/userinfo#email" |
51 ] | 57 ] |
52 }, | 58 }, |
53 "sandbox": { | 59 "sandbox": { |
54 "pages": [ "wcs_sandbox.html" ] | 60 "pages": [ "wcs_sandbox.html" ] |
55 }, | 61 }, |
56 {% endif %} | 62 {% endif %} |
57 | 63 |
64 "externally_connectable": { | |
65 "matches": [ | |
66 "https://*.talkgadget.google.com/*" | |
67 ] | |
68 }, | |
Jamie
2014/08/12 20:42:55
As above, I think this probably belongs in one of
kelvinp
2014/08/12 21:42:42
Done.
| |
69 | |
58 "permissions": [ | 70 "permissions": [ |
59 "{{ OAUTH2_ACCOUNTS_HOST }}/*", | 71 "{{ OAUTH2_ACCOUNTS_HOST }}/*", |
60 "{{ OAUTH2_API_BASE_URL }}/*", | 72 "{{ OAUTH2_API_BASE_URL }}/*", |
61 "{{ DIRECTORY_API_BASE_URL }}/*", | 73 "{{ DIRECTORY_API_BASE_URL }}/*", |
62 "{{ TALK_GADGET_HOST }}/talkgadget/*", | 74 "{{ TALK_GADGET_HOST }}/talkgadget/*", |
63 "https://relay.google.com/*", | 75 "https://relay.google.com/*", |
64 "storage", | 76 "storage", |
65 "clipboardRead", | 77 "clipboardRead", |
66 "clipboardWrite", | 78 "clipboardWrite", |
67 "nativeMessaging" | 79 "nativeMessaging" |
(...skipping 12 matching lines...) Expand all Loading... | |
80 "udp-send-to", | 92 "udp-send-to", |
81 "udp-bind", | 93 "udp-bind", |
82 "udp-multicast-membership", | 94 "udp-multicast-membership", |
83 "resolve-host", | 95 "resolve-host", |
84 "network-state" | 96 "network-state" |
85 ] | 97 ] |
86 } | 98 } |
87 {% endif %} | 99 {% endif %} |
88 ] | 100 ] |
89 } | 101 } |
OLD | NEW |