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

Unified Diff: chrome/browser/resources/file_manager/js/file_type.js

Issue 9452007: Enable rar, tar, tar.gz and tar.bz2 archive support in CrOS file manager. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 10 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/js/file_type.js
===================================================================
--- chrome/browser/resources/file_manager/js/file_type.js (revision 123193)
+++ chrome/browser/resources/file_manager/js/file_type.js (working copy)
@@ -48,6 +48,13 @@
// Others
'zip': {type: 'archive', name: 'ZIP_ARCHIVE_FILE_TYPE'},
+ 'rar': {type: 'archive', name: 'RAR_ARCHIVE_FILE_TYPE'},
+ 'tar': {type: 'archive', name: 'TAR_ARCHIVE_FILE_TYPE'},
+ 'tar.bz2': {type: 'archive', name: 'TAR_BZIP2_ARCHIVE_FILE_TYPE'},
+ 'tbz': {type: 'archive', name: 'TAR_BZIP2_ARCHIVE_FILE_TYPE'},
+ 'tbz2': {type: 'archive', name: 'TAR_BZIP2_ARCHIVE_FILE_TYPE'},
+ 'tar.gz': {type: 'archive', name: 'TAR_GZIP_ARCHIVE_FILE_TYPE'},
+ 'tgz': {type: 'archive', name: 'TAR_GZIP_ARCHIVE_FILE_TYPE'},
'pdf': {type: 'text', icon: 'pdf', name: 'PDF_DOCUMENT_FILE_TYPE',
subtype: 'PDF'},
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_manager.js ('k') | chrome/browser/resources/file_manager/js/mock_chrome.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698