| { |
| // chrome-extension://hhaomjibdihmijegdhdafkllkbggdgoj/ |
| "key": "MIGdMA0GCSqGSIb3DQEBAQUAA4GLADCBhwKBgQDlhpGghtnNJ7pluQN0RDwbUxwwi99oM35ZEaFYvxPLrf0fIEC18cfDdJi6u4aJ+UoSpgzK731L0P/k4LvK2Rz9kVKOy0+IvuRrWkT7lbrLfA1UEBh02OA1AAshjmyRg4IxCqgl8ia8XWq6HKegS1y1KXZYGgb4qp7Bh9VC4cIzswIBIw==", |
| "manifest_version": 2, |
| "name": "Files", |
| "version": "3.0", |
| "description": "File Manager", |
| "incognito" : "split", |
| "icons": { |
| "16": "common/images/icon16.png", |
| "32": "common/images/icon32.png", |
| "48": "common/images/icon48.png", |
| "64": "common/images/icon64.png", |
| "96": "common/images/icon96.png", |
| "128": "common/images/icon128.png", |
| "192": "common/images/icon192.png", |
| "256": "common/images/icon256.png" |
| }, |
| "permissions": [ |
| "chrome://extension-icon/", |
| "chrome://resources/", |
| "chrome://theme/", |
| "clipboardRead", |
| "clipboardWrite", |
| "commandLinePrivate", |
| "contextMenus", |
| "echoPrivate", |
| "fileBrowserHandler", |
| "fileManagerPrivate", |
| { |
| "fileSystem": ["requestFileSystem", "write"] |
| }, |
| "fullscreen", |
| "https://*.googleusercontent.com/", |
| "https://docs.google.com/", |
| "https://drive.google.com/", |
| "https://www.google-analytics.com/", |
| "launcherSearchProvider", |
| "mediaGalleries", |
| "mediaPlayerPrivate", |
| "metricsPrivate", |
| "notifications", |
| "power", |
| "storage", |
| "syncFileSystem", |
| "unlimitedStorage", |
| "wallpaper", |
| "webstoreWidgetPrivate", |
| "webview" |
| ], |
| "webview": { |
| "partitions": [{ |
| "name": "trusted", |
| "accessible_resources": [ |
| "foreground/elements/files_safe_audio_webview_content.*", |
| "foreground/elements/files_safe_img_webview_content.*", |
| "foreground/elements/files_safe_media_webview_content.js", |
| "foreground/elements/files_safe_text_webview_content.*", |
| "foreground/elements/files_safe_video_webview_content.*" |
| ] |
| }] |
| }, |
| "file_browser_handlers": [ |
| { |
| "id": "mount-archive", |
| "default_title": "__MSG_MOUNT_ARCHIVE__", |
| "default_icon": "common/images/file_types/200/archive.png", |
| "file_filters": [ |
| "filesystem:*.rar", |
| "filesystem:*.zip" |
| ] |
| }, |
| { |
| "id": "view-pdf", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/pdf.png", |
| "file_filters": [ |
| "filesystem:*.pdf" |
| ] |
| }, |
| { |
| "id": "view-swf", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.swf" |
| ] |
| }, |
| { |
| "id": "view-in-browser", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.htm", |
| "filesystem:*.html", |
| "filesystem:*.mht", |
| "filesystem:*.mhtml", |
| "filesystem:*.shtml", |
| "filesystem:*.xht", |
| "filesystem:*.xhtml", |
| "filesystem:*.svg", |
| "filesystem:*.txt" |
| ] |
| }, |
| { |
| "id": "open-hosted-generic", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200generic.png", |
| "file_filters": [ |
| "filesystem:*.gdraw", |
| "filesystem:*.gtable", |
| "filesystem:*.gform", |
| "filesystem:*.gmaps", |
| "filesystem:*.gsite", |
| "filesystem:*.glink" |
| ] |
| }, |
| { |
| "id": "open-hosted-gdoc", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.gdoc" |
| ] |
| }, |
| { |
| "id": "open-hosted-gsheet", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.gsheet" |
| ] |
| }, |
| { |
| "id": "open-hosted-gslides", |
| "default_title": "__MSG_HOSTED__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.gslides" |
| ] |
| }, |
| { |
| "id": "install-linux-package", |
| "default_title": "__MSG_INSTALL_LINUX_PACKAGE__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [ |
| "filesystem:*.deb" |
| ] |
| }, |
| // The following handlers are used only internally, therefore they do not |
| // have any file filter. |
| // Selects the passed file after launching the Files app. |
| { |
| "id": "select", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [] |
| }, |
| // Opens the passed directory after launching the Files app. |
| { |
| "id": "open", |
| "default_title": "__MSG_OPEN_ACTION__", |
| "default_icon": "common/images/file_types/200/generic.png", |
| "file_filters": [] |
| } |
| ], |
| // Required to import scripts in a web worker. Note, that in Apps v2, it is |
| // enough that anything is passed to web_accessible_resources. If there is |
| // at least any file, then all files are allowed. http://crbug.com/179127. |
| "web_accessible_resources": [ |
| "foreground/elements/files_icon_button.html", |
| "foreground/elements/files_icon_button.js", |
| "foreground/elements/files_ripple.html", |
| "foreground/elements/files_ripple.js", |
| "foreground/elements/files_toast.html", |
| "foreground/elements/files_toast.js", |
| "foreground/elements/files_toggle_ripple.html", |
| "foreground/elements/files_toggle_ripple.js", |
| "foreground/elements/files_tooltip.html", |
| "foreground/elements/files_tooltip.js", |
| "background/js/runtime_loaded_test_util.js", |
| "background/js/background_common_scripts.js", |
| "foreground/js/metadata/byte_reader.js", |
| "foreground/js/metadata/exif_parser.js", |
| "foreground/js/metadata/exif_constants.js", |
| "foreground/js/metadata/function_parallel.js", |
| "foreground/js/metadata/function_sequence.js", |
| "foreground/js/metadata/id3_parser.js", |
| "foreground/js/metadata/image_orientation.js", |
| "foreground/js/metadata/image_parsers.js", |
| "foreground/js/metadata/metadata_dispatcher.js", |
| "foreground/js/metadata/metadata_parser.js", |
| "foreground/js/metadata/mpeg_parser.js" |
| ], |
| "app": { |
| "background": { |
| "scripts": [ |
| "chrome://resources/js/cr.js", |
| "chrome://resources/js/cr/event_target.js", |
| "chrome://resources/js/cr/ui/array_data_model.js", |
| "chrome://resources/js/load_time_data.js", |
| "background/js/background_common_scripts.js", |
| "background/js/background_scripts.js" |
| ] |
| }, |
| // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader extension. |
| "content_security_policy": "default-src 'none'; script-src 'self' blob: filesystem: chrome://resources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' blob: filesystem: 'unsafe-inline' chrome://resources; frame-src 'self' blob: filesystem: about:; img-src 'self' blob: filesystem: chrome://resources chrome://theme data: https://docs.google.com https://*.googleusercontent.com chrome://extension-icon; media-src 'self' blob: filesystem: https://*.googleusercontent.com; connect-src https://drive.google.com https://www.google-analytics.com chrome://resources; object-src 'self' blob: filesystem:; font-src chrome://resources;" |
| } |
| } |