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

Unified Diff: ui/file_manager/file_manager/common/js/util.js

Issue 559843003: Remove util.makeFilesystemUrl in Files app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/util.js
diff --git a/ui/file_manager/file_manager/common/js/util.js b/ui/file_manager/file_manager/common/js/util.js
index 757955f6e91fdb278cf7bc7b2fba8297d8eec6ed..292b67c55f58fe25739c53b591332a8e51aec86c 100644
--- a/ui/file_manager/file_manager/common/js/util.js
+++ b/ui/file_manager/file_manager/common/js/util.js
@@ -458,17 +458,6 @@ util.applyTransform = function(element, transform) {
};
/**
- * Makes filesystem: URL from the path.
- * @param {string} path File or directory path.
- * @return {string} URL.
- */
-util.makeFilesystemUrl = function(path) {
- path = path.split('/').map(encodeURIComponent).join('/');
- var prefix = 'external';
- return 'filesystem:' + chrome.runtime.getURL(prefix + path);
-};
-
-/**
* Extracts path from filesystem: URL.
* @param {string} url Filesystem URL.
* @return {string} The path.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698