blob: 78b23fffc7ddb11a35da428b29b38e3734ada2c0 [file] [log] [blame]
{
// 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",
"256": "common/images/icon256.png"
},
"permissions": [
// Comment out chrome:// permissions to debug on a desktop browser.
"chrome://extension-icon/",
"chrome://resources/",
"chrome://theme/",
"clipboardRead",
"clipboardWrite",
"commandLinePrivate",
"contextMenus",
"echoPrivate",
"fileBrowserHandler",
"fileManagerPrivate",
"fullscreen",
"https://*.googleusercontent.com/",
"https://docs.google.com/",
"https://drive.google.com/",
"https://www.google-analytics.com/",
"mediaPlayerPrivate",
"metricsPrivate",
"notifications",
"power",
"storage",
"syncFileSystem",
"unlimitedStorage",
"webview"
],
"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:*.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"
]
},
// The following handlers are used only internally, therefore they do not
// have any file filter.
// Selects the passed file after launching 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 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": [
"background/js/app_window_wrapper.js",
"background/js/background_base.js",
"background/js/test_util_base.js",
"background/js/volume_manager.js",
"common/js/async_util.js",
"common/js/error_util.js",
"common/js/file_type.js",
"common/js/path_util.js",
"common/js/util.js",
"common/js/volume_manager_common.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_parsers.js",
"foreground/js/metadata/metadata_dispatcher.js",
"foreground/js/metadata/metadata_parser.js",
"foreground/js/metadata/mpeg_parser.js"
],
"app": {
"background": {
"scripts": [
"common/js/error_util.js",
"chrome://resources/js/load_time_data.js",
"chrome://resources/js/cr.js",
"chrome://resources/js/cr/event_target.js",
"chrome://resources/js/cr/ui/array_data_model.js",
"chrome://resources/js/analytics.js",
"common/js/async_util.js",
"common/js/file_type.js",
"common/js/metrics_base.js",
"common/js/metrics_events.js",
"common/js/metrics.js",
"common/js/progress_center_common.js",
"common/js/util.js",
"common/js/volume_manager_common.js",
"common/js/importer_common.js",
"background/js/app_window_wrapper.js",
"background/js/background_base.js",
"background/js/device_handler.js",
"background/js/drive_sync_handler.js",
"background/js/duplicate_finder.js",
"background/js/file_operation_handler.js",
"background/js/file_operation_manager.js",
"background/js/file_operation_util.js",
"background/js/import_history.js",
"background/js/task_queue.js",
"background/js/media_import_handler.js",
"background/js/media_scanner.js",
"background/js/progress_center.js",
"background/js/test_util_base.js",
"background/js/test_util.js",
"background/js/volume_manager.js",
"background/js/background.js"
]
},
// chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader extension.
"content_security_policy": "default-src 'none'; script-src 'self' chrome://resources chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp; style-src 'self' 'unsafe-inline' chrome://resources; frame-src 'self' about:; img-src 'self' chrome://resources chrome://theme data: https://docs.google.com https://*.googleusercontent.com chrome://extension-icon; media-src 'self' https://*.googleusercontent.com; connect-src https://drive.google.com https://www.google-analytics.com chrome://resources; object-src 'self'"
}
}