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

Unified Diff: chrome/browser/resources/file_manager/manifest.json

Issue 39123003: [Files.app] Split the JavaScript files into subdirectories: common, background, and foreground (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed test failure. Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/file_manager/manifest.json
diff --git a/chrome/browser/resources/file_manager/manifest.json b/chrome/browser/resources/file_manager/manifest.json
index 07b6d88b81ae108f937ed3c4652a22196c7b1fb7..1eae7291d7fefbab77ac5b18b3d7cba64725e540 100644
--- a/chrome/browser/resources/file_manager/manifest.json
+++ b/chrome/browser/resources/file_manager/manifest.json
@@ -209,7 +209,7 @@
// 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": ["js/metadata/byte_reader.js"],
+ "web_accessible_resources": ["foreground/js/metadata/byte_reader.js"],
"app": {
"background": {
"scripts": [
@@ -217,15 +217,15 @@
"chrome://resources/js/cr.js",
"chrome://resources/js/cr/event_target.js",
"chrome://resources/js/cr/ui/array_data_model.js",
- "js/util.js",
- "js/path_util.js",
- "js/async_util.js",
- "js/volume_manager.js",
- "js/file_operation_manager.js",
- "js/test_util.js",
- "js/progress_center_common.js",
- "js/progress_center.js",
- "js/background.js"]
+ "common/js/async_util.js",
+ "common/js/path_util.js",
+ "common/js/progress_center_common.js",
+ "common/js/util.js",
+ "background/js/volume_manager.js",
+ "background/js/file_operation_manager.js",
+ "background/js/test_util.js",
+ "background/js/progress_center.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; object-src 'self'"
« no previous file with comments | « chrome/browser/resources/file_manager/main.html ('k') | chrome/browser/resources/file_manager/mediaplayer.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698