Add current resources to MediaRouterResourcesProvider.
[chromium-blink-merge.git] / remoting / webapp / app_remoting / manifest_common.json.jinja2
blobb0c2676ae14d558346c43caca919429d0fd597f6
1   {{ MANIFEST_KEY_FOR_UNOFFICIAL_BUILD }}
2   "name": "{{APP_NAME}}",
3   "description": "{{APP_DESCRIPTION}}",
4   "version": "{{ FULL_APP_VERSION }}",
5   "manifest_version": 2,
6   "default_locale": "en",
7   "app": {
8     "background": {
9       "scripts": ["ar_background.js", "platform.js"]
10     }
11   },
12   "icons": {
13     "128": "icon128.png",
14     "48": "icon48.png",
15     "16": "icon16.png"
16   },
17   "optional_permissions": [
18     "<all_urls>"
19   ],
20   "permissions": [
21     "{{ APP_REMOTING_API_BASE_URL }}/*",
22     "{{ DIRECTORY_API_BASE_URL }}/*",
23     "{{ OAUTH2_ACCOUNTS_HOST }}/*",
24     "{{ OAUTH2_API_BASE_URL }}/*",
25     "{{ TALK_GADGET_HOST }}/talkgadget/*",
26     "app.window.shape",
27     "clipboardRead",
28     "clipboardWrite",
29     "contextMenus",
30     "fileSystem",
31     "fullscreen",
32     "https://relay.google.com/*",
33     "identity",
34     "pointerLock",
35     "storage",
36     {
37       "socket": [
38         "udp-send-to",
39         "udp-bind",
40         "udp-multicast-membership",
41         "resolve-host",
42         "network-state"
43       ]
44     }
45   ],
46   "sockets": {
47     "tcp": {
48       "connect": "{{ XMPP_SERVER }}"
49     }
50   },
51   "oauth2": {
52     "client_id": "{{ REMOTING_IDENTITY_API_CLIENT_ID }}",
53     "scopes": [
54       "https://www.googleapis.com/auth/appremoting.runapplication https://www.googleapis.com/auth/googletalk https://www.googleapis.com/auth/userinfo#email https://www.googleapis.com/auth/userinfo.profile {{ OAUTH_GDRIVE_SCOPE }}"
55     ]
56   },
57   "sandbox": {
58     "pages": [ "wcs_sandbox.html" ]
59   }