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

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

Issue 546413002: Remove the warning for converting entries to URLs. (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
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..b548b4f9d8087d66b40f213e76d4934cb43bc9a6 100644
--- a/ui/file_manager/file_manager/common/js/util.js
+++ b/ui/file_manager/file_manager/common/js/util.js
@@ -1088,9 +1088,6 @@ util.getCurrentLocaleOrDefault = function() {
* @return {Array.<string>} Output array of URLs.
*/
util.entriesToURLs = function(entries) {
- // TODO(mtomasz): Make all callers use entries instead of URLs, and then
- // remove this utility function.
- console.warn('Converting entries to URLs is deprecated.');
return entries.map(function(entry) {
return entry.toURL();
});

Powered by Google App Engine
This is Rietveld 408576698