| OLD | NEW |
| (Empty) |
| 1 { | |
| 2 // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ | |
| 3 "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM3
5ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEB
h02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", | |
| 4 "manifest_version": 2, | |
| 5 "name": "Files", | |
| 6 "version": "3.0", | |
| 7 "description": "File Manager", | |
| 8 "incognito" : "split", | |
| 9 "icons": { | |
| 10 "16": "common/images/icon16.png", | |
| 11 "32": "common/images/icon32.png", | |
| 12 "48": "common/images/icon48.png", | |
| 13 "64": "common/images/icon64.png", | |
| 14 "96": "common/images/icon96.png", | |
| 15 "128": "common/images/icon128.png", | |
| 16 "256": "common/images/icon256.png" | |
| 17 }, | |
| 18 "permissions": [ | |
| 19 "contextMenus", | |
| 20 "experimental", | |
| 21 "echoPrivate", | |
| 22 "storage", | |
| 23 "fileBrowserHandler", | |
| 24 "fileBrowserPrivate", | |
| 25 "fullscreen", | |
| 26 "mediaPlayerPrivate", | |
| 27 "mediaGalleriesPrivate", | |
| 28 "metricsPrivate", | |
| 29 "notifications", | |
| 30 "commandLinePrivate", | |
| 31 "unlimitedStorage", | |
| 32 "webview", | |
| 33 // Comment out chrome:// permissions to debug on a desktop browser. | |
| 34 "chrome://extension-icon/", | |
| 35 "chrome://resources/", | |
| 36 "chrome://theme/", | |
| 37 "clipboardWrite", | |
| 38 "clipboardRead", | |
| 39 "power", | |
| 40 "https://docs.google.com/", | |
| 41 "https://*.googleusercontent.com/", | |
| 42 "https://drive.google.com/" | |
| 43 ], | |
| 44 "file_browser_handlers": [ | |
| 45 { | |
| 46 "id": "play", | |
| 47 "default_title": "__MSG_PLAY_MEDIA__", | |
| 48 "default_icon": "common/images/file_types/200/audio.png", | |
| 49 "file_filters": [ | |
| 50 "filesystem:*.amr", | |
| 51 "filesystem:*.flac", | |
| 52 "filesystem:*.m4a", | |
| 53 "filesystem:*.mp3", | |
| 54 "filesystem:*.oga", | |
| 55 "filesystem:*.ogg", | |
| 56 "filesystem:*.wav" | |
| 57 ] | |
| 58 }, | |
| 59 { | |
| 60 "id": "mount-archive", | |
| 61 "default_title": "__MSG_MOUNT_ARCHIVE__", | |
| 62 "default_icon": "common/images/file_types/200/archive.png", | |
| 63 "file_filters": [ | |
| 64 "filesystem:*.rar", | |
| 65 "filesystem:*.zip" | |
| 66 ] | |
| 67 }, | |
| 68 { | |
| 69 "id": "view-pdf", | |
| 70 "default_title": "__MSG_OPEN_ACTION__", | |
| 71 "default_icon": "common/images/file_types/200/pdf.png", | |
| 72 "file_filters": [ | |
| 73 "filesystem:*.pdf" | |
| 74 ] | |
| 75 }, | |
| 76 { | |
| 77 "id": "view-swf", | |
| 78 "default_title": "__MSG_OPEN_ACTION__", | |
| 79 "default_icon": "common/images/file_types/200/generic.png", | |
| 80 "file_filters": [ | |
| 81 "filesystem:*.swf" | |
| 82 ] | |
| 83 }, | |
| 84 { | |
| 85 "id": "view-in-browser", | |
| 86 "default_title": "__MSG_OPEN_ACTION__", | |
| 87 "default_icon": "common/images/file_types/200/generic.png", | |
| 88 "file_filters": [ | |
| 89 "filesystem:*.htm", | |
| 90 "filesystem:*.html", | |
| 91 "filesystem:*.mht", | |
| 92 "filesystem:*.mhtml", | |
| 93 "filesystem:*.svg", | |
| 94 "filesystem:*.txt" | |
| 95 ] | |
| 96 }, | |
| 97 { | |
| 98 "id": "gallery", | |
| 99 "default_title": "__MSG_OPEN_ACTION__", | |
| 100 "default_icon": "common/images/file_types/200/image.png", | |
| 101 "file_filters": [ | |
| 102 // Image formats | |
| 103 "filesystem:*.bmp", | |
| 104 "filesystem:*.gif", | |
| 105 "filesystem:*.ico", | |
| 106 "filesystem:*.jpg", | |
| 107 "filesystem:*.jpeg", | |
| 108 "filesystem:*.png", | |
| 109 "filesystem:*.webp" | |
| 110 ] | |
| 111 }, | |
| 112 { | |
| 113 "id": "gallery-video", | |
| 114 "default_title": "__MSG_OPEN_ACTION__", | |
| 115 "default_icon": "common/images/file_types/200/image.png", | |
| 116 "file_filters": [ | |
| 117 // Video formats | |
| 118 "filesystem:*.3gp", | |
| 119 "filesystem:*.avi", | |
| 120 "filesystem:*.m4v", | |
| 121 "filesystem:*.mkv", | |
| 122 "filesystem:*.mov", | |
| 123 "filesystem:*.mp4", | |
| 124 "filesystem:*.mpeg", | |
| 125 "filesystem:*.mpeg4", | |
| 126 "filesystem:*.mpg", | |
| 127 "filesystem:*.mpg4", | |
| 128 "filesystem:*.ogm", | |
| 129 "filesystem:*.ogv", | |
| 130 "filesystem:*.ogx", | |
| 131 "filesystem:*.webm" | |
| 132 ] | |
| 133 }, | |
| 134 { | |
| 135 "id": "open-hosted-generic", | |
| 136 "default_title": "__MSG_HOSTED__", | |
| 137 "default_icon": "common/images/file_types/200generic.png", | |
| 138 "file_filters": [ | |
| 139 "filesystem:*.gdraw", | |
| 140 "filesystem:*.gtable", | |
| 141 "filesystem:*.gform" | |
| 142 ] | |
| 143 }, | |
| 144 { | |
| 145 "id": "open-hosted-gdoc", | |
| 146 "default_title": "__MSG_HOSTED__", | |
| 147 "default_icon": "common/images/file_types/200/generic.png", | |
| 148 "file_filters": [ | |
| 149 "filesystem:*.gdoc" | |
| 150 ] | |
| 151 }, | |
| 152 { | |
| 153 "id": "open-hosted-gsheet", | |
| 154 "default_title": "__MSG_HOSTED__", | |
| 155 "default_icon": "common/images/file_types/200/generic.png", | |
| 156 "file_filters": [ | |
| 157 "filesystem:*.gsheet" | |
| 158 ] | |
| 159 }, | |
| 160 { | |
| 161 "id": "open-hosted-gslides", | |
| 162 "default_title": "__MSG_HOSTED__", | |
| 163 "default_icon": "common/images/file_types/200/generic.png", | |
| 164 "file_filters": [ | |
| 165 "filesystem:*.gslides" | |
| 166 ] | |
| 167 }, | |
| 168 // The following handlers are used only internally, therefore they do not | |
| 169 // have any file filter. | |
| 170 // Automatically opens a volume and later close Files.app when unmounted. | |
| 171 { | |
| 172 "id": "auto-open", | |
| 173 "default_title": "__MSG_OPEN_ACTION__", | |
| 174 "default_icon": "common/images/file_types/200/generic.png", | |
| 175 "file_filters": [] | |
| 176 }, | |
| 177 // Selects the passed file after launching Files.app. | |
| 178 { | |
| 179 "id": "select", | |
| 180 "default_title": "__MSG_OPEN_ACTION__", | |
| 181 "default_icon": "common/images/file_types/200/generic.png", | |
| 182 "file_filters": [] | |
| 183 }, | |
| 184 // Opens the passed directory after launching Files.app. | |
| 185 { | |
| 186 "id": "open", | |
| 187 "default_title": "__MSG_OPEN_ACTION__", | |
| 188 "default_icon": "common/images/file_types/200/generic.png", | |
| 189 "file_filters": [] | |
| 190 } | |
| 191 ], | |
| 192 // Required to import scripts in a web worker. Note, that in Apps v2, it is | |
| 193 // enough that anything is passed to web_accessible_resources. If there is | |
| 194 // at least any file, then all files are allowed. http://crbug.com/179127. | |
| 195 "web_accessible_resources": ["foreground/js/metadata/byte_reader.js"], | |
| 196 "app": { | |
| 197 "background": { | |
| 198 "scripts": [ | |
| 199 "common/js/error_util.js", | |
| 200 "chrome://resources/js/load_time_data.js", | |
| 201 "chrome://resources/js/cr.js", | |
| 202 "chrome://resources/js/cr/event_target.js", | |
| 203 "chrome://resources/js/cr/ui/array_data_model.js", | |
| 204 "common/js/async_util.js", | |
| 205 "common/js/path_util.js", | |
| 206 "common/js/progress_center_common.js", | |
| 207 "common/js/util.js", | |
| 208 "background/js/device_handler.js", | |
| 209 "background/js/drive_sync_handler.js", | |
| 210 "background/js/file_operation_handler.js", | |
| 211 "background/js/file_operation_manager.js", | |
| 212 "background/js/progress_center.js", | |
| 213 "background/js/test_util.js", | |
| 214 "background/js/volume_manager.js", | |
| 215 "background/js/background.js" | |
| 216 ] | |
| 217 }, | |
| 218 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e
xtension. | |
| 219 "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; object-src 'self'" | |
| 220 } | |
| 221 } | |
| OLD | NEW |