OLD | NEW |
1 { | 1 { |
2 // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ | 2 // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ |
3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM3
5ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEB
h02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", | 3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM3
5ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEB
h02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", |
4 "manifest_version": 2, | 4 "manifest_version": 2, |
5 "name": "Files", | 5 "name": "Files", |
6 "version": "2.0", | 6 "version": "2.0", |
7 "description": "File Manager", | 7 "description": "File Manager", |
8 "incognito" : "split", | 8 "incognito" : "split", |
9 "icons": { | 9 "icons": { |
10 "16": "images/icon16.png", | 10 "16": "images/icon16.png", |
(...skipping 13 matching lines...) Expand all Loading... |
24 "chrome://resources/", | 24 "chrome://resources/", |
25 "chrome://theme/", | 25 "chrome://theme/", |
26 "tabs", | 26 "tabs", |
27 "clipboardWrite", | 27 "clipboardWrite", |
28 "clipboardRead", | 28 "clipboardRead", |
29 "https://docs.google.com/", | 29 "https://docs.google.com/", |
30 "https://*.googleusercontent.com/", | 30 "https://*.googleusercontent.com/", |
31 "https://drive.google.com/" | 31 "https://drive.google.com/" |
32 ], | 32 ], |
33 "file_browser_handlers": [ | 33 "file_browser_handlers": [ |
34 // Automatically opens a volume and later close Files.app when unmounted. | |
35 // TODO(mtomasz): Implement a better filtering than using file_filters. | |
36 { | |
37 "id": "auto-open", | |
38 "default_title": "__MSG_OPEN_ACTION__", | |
39 "default_icon": "images/filetype_generic.png", | |
40 "file_filters": [ | |
41 "filesystem:*" | |
42 ] | |
43 }, | |
44 // Selects the passed file after launching Files.app. | |
45 { | |
46 "id": "select", | |
47 "default_title": "__MSG_OPEN_ACTION__", | |
48 "default_icon": "images/filetype_generic.png", | |
49 "file_filters": [ | |
50 "filesystem:*" | |
51 ] | |
52 }, | |
53 // Opens the passed directory after launching Files.app. | |
54 // TODO(mtomasz): Implement a directories filtering instead of files. | |
55 { | |
56 "id": "open", | |
57 "default_title": "__MSG_OPEN_ACTION__", | |
58 "default_icon": "images/filetype_generic.png", | |
59 "file_filters": [ | |
60 "filesystem:*" | |
61 ] | |
62 }, | |
63 { | 34 { |
64 "id": "play", | 35 "id": "play", |
65 "default_title": "__MSG_PLAY_MEDIA__", | 36 "default_title": "__MSG_PLAY_MEDIA__", |
66 "default_icon": "images/filetype_audio.png", | 37 "default_icon": "images/filetype_audio.png", |
67 "file_filters": [ | 38 "file_filters": [ |
68 "filesystem:*.amr", | 39 "filesystem:*.amr", |
69 "filesystem:*.flac", | 40 "filesystem:*.flac", |
70 "filesystem:*.m4a", | 41 "filesystem:*.m4a", |
71 "filesystem:*.mp3", | 42 "filesystem:*.mp3", |
72 "filesystem:*.oga", | 43 "filesystem:*.oga", |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 "filesystem:*.gsheet" | 171 "filesystem:*.gsheet" |
201 ] | 172 ] |
202 }, | 173 }, |
203 { | 174 { |
204 "id": "open-hosted-gslides", | 175 "id": "open-hosted-gslides", |
205 "default_title": "__MSG_HOSTED__", | 176 "default_title": "__MSG_HOSTED__", |
206 "default_icon": "images/filetype_generic.png", | 177 "default_icon": "images/filetype_generic.png", |
207 "file_filters": [ | 178 "file_filters": [ |
208 "filesystem:*.gslides" | 179 "filesystem:*.gslides" |
209 ] | 180 ] |
| 181 }, |
| 182 // The following handlers are used only internally, therefore they do not |
| 183 // have any file filter. |
| 184 // Automatically opens a volume and later close Files.app when unmounted. |
| 185 { |
| 186 "id": "auto-open", |
| 187 "default_title": "__MSG_OPEN_ACTION__", |
| 188 "default_icon": "images/filetype_generic.png", |
| 189 "file_filters": [] |
| 190 }, |
| 191 // Selects the passed file after launching Files.app. |
| 192 { |
| 193 "id": "select", |
| 194 "default_title": "__MSG_OPEN_ACTION__", |
| 195 "default_icon": "images/filetype_generic.png", |
| 196 "file_filters": [] |
| 197 }, |
| 198 // Opens the passed directory after launching Files.app. |
| 199 { |
| 200 "id": "open", |
| 201 "default_title": "__MSG_OPEN_ACTION__", |
| 202 "default_icon": "images/filetype_generic.png", |
| 203 "file_filters": [] |
210 } | 204 } |
211 ], | 205 ], |
212 "chrome_url_overrides": { | 206 "chrome_url_overrides": { |
213 "files": "main.html" | 207 "files": "main.html" |
214 }, | 208 }, |
215 // Required to import scripts in a web worker. Note, that in Apps v2, it is | 209 // Required to import scripts in a web worker. Note, that in Apps v2, it is |
216 // enough that anything is passed to web_accessible_resources. If there is | 210 // enough that anything is passed to web_accessible_resources. If there is |
217 // at least any file, then all files are allowed. http://crbug.com/179127. | 211 // at least any file, then all files are allowed. http://crbug.com/179127. |
218 "web_accessible_resources": ["js/metadata/byte_reader.js"], | 212 "web_accessible_resources": ["js/metadata/byte_reader.js"], |
219 "app": { | 213 "app": { |
220 "background": { | 214 "background": { |
221 "scripts": [ | 215 "scripts": [ |
222 "js/file_copy_manager.js", | 216 "js/file_copy_manager.js", |
223 "js/async_util.js", | 217 "js/async_util.js", |
224 "js/path_util.js", | 218 "js/path_util.js", |
225 "js/util.js", | 219 "js/util.js", |
226 "js/test_util.js", | 220 "js/test_util.js", |
227 "js/background.js"] | 221 "js/background.js"] |
228 }, | 222 }, |
229 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e
xtension. | 223 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e
xtension. |
230 "content_security_policy": "default-src 'none'; script-src 'self' chrome://r
esources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' '
unsafe-inline' chrome://resources; frame-src 'self' about:; img-src 'self' chrom
e://resources chrome://theme data: https://docs.google.com https://*.googleuserc
ontent.com chrome://extension-icon; media-src 'self' https://*.googleusercontent
.com; connect-src https://drive.google.com" | 224 "content_security_policy": "default-src 'none'; script-src 'self' chrome://r
esources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' '
unsafe-inline' chrome://resources; frame-src 'self' about:; img-src 'self' chrom
e://resources chrome://theme data: https://docs.google.com https://*.googleuserc
ontent.com chrome://extension-icon; media-src 'self' https://*.googleusercontent
.com; connect-src https://drive.google.com" |
231 } | 225 } |
232 } | 226 } |
OLD | NEW |