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

Unified Diff: chrome/browser/resources/file_manager/js/mock_chrome.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/mock_chrome.js
===================================================================
--- chrome/browser/resources/file_manager/js/mock_chrome.js (revision 123193)
+++ chrome/browser/resources/file_manager/js/mock_chrome.js (working copy)
@@ -105,7 +105,7 @@
},
{ taskId: extensionId + '|mount-archive',
title: 'Mount',
- regexp: /\.(zip)$/i,
+ regexp: /\.(rar|tar|tar.bz2|tar.gz|tbz|tbz2|tgz|zip)$/i,
iconUrl: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAYAAAAmL5yKAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sEEBcOAw9XftIAAADFSURBVCjPrZKxCsIwEIa/FHFwsvYxROjSQXAoqLiIL+xgBtvZ91A6uOnQc2hT0zRqkR4c3P25+/PfJTCwLU6wEpgBWkDXuInDPSwF5r7mJIeNQFTnIiCeONpVdYlLoK9wEUhNg8+B9FDVaZcgCKAovjTXfvPJFwGZtKW60pt8bOGBzfLouemnFY/MAs8wDeEI4NzaybewBu4AysKVgrK0gfe5iB9vjdAUqQ/S1Y/R3IX9Zc1zxc7zxe2/0Iskt7AsG0hhx14W8XV43FgV4gAAAABJRU5ErkJggg=='
},
{
@@ -236,8 +236,7 @@
PLAY_MEDIA: 'Play',
- MOUNT_ARCHIVE: 'Open archive',
- UNMOUNT_ARCHIVE: 'Close archive',
+ MOUNT_ARCHIVE: 'Open',
FORMAT_DEVICE: 'Format device',
GALLERY: 'View and Edit',
@@ -352,6 +351,10 @@
AUDIO_FILE_TYPE: '$1 audio file',
HTML_DOCUMENT_FILE_TYPE: 'HTML document',
ZIP_ARCHIVE_FILE_TYPE: 'Zip archive',
+ RAR_ARCHIVE_FILE_TYPE: 'RAR archive',
+ TAR_ARCHIVE_FILE_TYPE: 'Tar archive',
+ TAR_BZIP2_ARCHIVE_FILE_TYPE: 'Bzip2 compressed tar archive',
+ TAR_GZIP_ARCHIVE_FILE_TYPE: 'Gzip compressed tar archive',
PLAIN_TEXT_FILE_TYPE: 'Plain text file',
PDF_DOCUMENT_FILE_TYPE: 'PDF document'
});
« no previous file with comments | « chrome/browser/resources/file_manager/js/file_type.js ('k') | chrome/browser/resources/file_manager/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698