Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: chrome/browser/resources/file_manager/manifest_new_ui.json

Issue 14864004: Fix security errors when accessing files and volumes in Files.app V2 due to using unregistered hand… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/file_manager/manifest.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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": "3.0", 6 "version": "3.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 14 matching lines...) Expand all
25 "chrome://resources/", 25 "chrome://resources/",
26 "chrome://theme/", 26 "chrome://theme/",
27 "tabs", 27 "tabs",
28 "clipboardWrite", 28 "clipboardWrite",
29 "clipboardRead", 29 "clipboardRead",
30 "https://docs.google.com/", 30 "https://docs.google.com/",
31 "https://*.googleusercontent.com/", 31 "https://*.googleusercontent.com/",
32 "https://drive.google.com/" 32 "https://drive.google.com/"
33 ], 33 ],
34 "file_browser_handlers": [ 34 "file_browser_handlers": [
35 // Automatically opens a volume and later close Files.app when unmounted.
36 // TODO(mtomasz): Implement a better filtering than using file_filters.
37 {
38 "id": "auto-open",
39 "default_title": "__MSG_OPEN_ACTION__",
40 "default_icon": "images/filetype_generic.png",
41 "file_filters": [
42 "filesystem:*"
43 ]
44 },
45 // Selects the passed file after launching Files.app.
46 {
47 "id": "select",
48 "default_title": "__MSG_OPEN_ACTION__",
49 "default_icon": "images/filetype_generic.png",
50 "file_filters": [
51 "filesystem:*"
52 ]
53 },
54 // Opens the passed directory after launching Files.app.
55 // TODO(mtomasz): Implement a directories filtering instead of files.
56 {
57 "id": "open",
58 "default_title": "__MSG_OPEN_ACTION__",
59 "default_icon": "images/filetype_generic.png",
60 "file_filters": [
61 "filesystem:*"
62 ]
63 },
35 { 64 {
36 "id": "play", 65 "id": "play",
37 "default_title": "__MSG_PLAY_MEDIA__", 66 "default_title": "__MSG_PLAY_MEDIA__",
38 "default_icon": "images/filetype_audio.png", 67 "default_icon": "images/filetype_audio.png",
39 "file_filters": [ 68 "file_filters": [
40 "filesystem:*.amr", 69 "filesystem:*.amr",
41 "filesystem:*.flac", 70 "filesystem:*.flac",
42 "filesystem:*.m4a", 71 "filesystem:*.m4a",
43 "filesystem:*.mp3", 72 "filesystem:*.mp3",
44 "filesystem:*.oga", 73 "filesystem:*.oga",
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 "js/file_copy_manager.js", 223 "js/file_copy_manager.js",
195 "js/path_util.js", 224 "js/path_util.js",
196 "js/util.js", 225 "js/util.js",
197 "js/test_util.js", 226 "js/test_util.js",
198 "js/background.js"] 227 "js/background.js"]
199 }, 228 },
200 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e xtension. 229 // chrome-extension://pmfjbimdmchhbnneeidfognadeopoehp is the image loader e xtension.
201 "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" 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"
202 } 231 }
203 } 232 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/file_manager/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698