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

Side by Side Diff: chrome/browser/extensions/extension_file_browser_private_api.cc

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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_file_browser_private_api.h" 5 #include "chrome/browser/extensions/extension_file_browser_private_api.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
(...skipping 1598 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_LABEL); 1609 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_LABEL);
1610 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_FORMAT); 1610 SET_STRING(IDS_FILE_BROWSER, DIMENSIONS_FORMAT);
1611 1611
1612 SET_STRING(IDS_FILE_BROWSER, EJECT_BUTTON); 1612 SET_STRING(IDS_FILE_BROWSER, EJECT_BUTTON);
1613 SET_STRING(IDS_FILE_BROWSER, IMAGE_DIMENSIONS); 1613 SET_STRING(IDS_FILE_BROWSER, IMAGE_DIMENSIONS);
1614 SET_STRING(IDS_FILE_BROWSER, VOLUME_LABEL); 1614 SET_STRING(IDS_FILE_BROWSER, VOLUME_LABEL);
1615 SET_STRING(IDS_FILE_BROWSER, READ_ONLY); 1615 SET_STRING(IDS_FILE_BROWSER, READ_ONLY);
1616 1616
1617 SET_STRING(IDS_FILE_BROWSER, ARCHIVE_MOUNT_FAILED); 1617 SET_STRING(IDS_FILE_BROWSER, ARCHIVE_MOUNT_FAILED);
1618 SET_STRING(IDS_FILE_BROWSER, MOUNT_ARCHIVE); 1618 SET_STRING(IDS_FILE_BROWSER, MOUNT_ARCHIVE);
1619 SET_STRING(IDS_FILE_BROWSER, UNMOUNT_ARCHIVE);
1620 SET_STRING(IDS_FILE_BROWSER, FORMAT_DEVICE); 1619 SET_STRING(IDS_FILE_BROWSER, FORMAT_DEVICE);
1621 1620
1622 SET_STRING(IDS_FILE_BROWSER, GALLERY); 1621 SET_STRING(IDS_FILE_BROWSER, GALLERY);
1623 SET_STRING(IDS_FILE_BROWSER, GALLERY_EDIT); 1622 SET_STRING(IDS_FILE_BROWSER, GALLERY_EDIT);
1624 SET_STRING(IDS_FILE_BROWSER, GALLERY_SHARE); 1623 SET_STRING(IDS_FILE_BROWSER, GALLERY_SHARE);
1625 SET_STRING(IDS_FILE_BROWSER, GALLERY_ENTER_WHEN_DONE); 1624 SET_STRING(IDS_FILE_BROWSER, GALLERY_ENTER_WHEN_DONE);
1626 SET_STRING(IDS_FILE_BROWSER, GALLERY_AUTOFIX); 1625 SET_STRING(IDS_FILE_BROWSER, GALLERY_AUTOFIX);
1627 SET_STRING(IDS_FILE_BROWSER, GALLERY_FIXED); 1626 SET_STRING(IDS_FILE_BROWSER, GALLERY_FIXED);
1628 SET_STRING(IDS_FILE_BROWSER, GALLERY_CROP); 1627 SET_STRING(IDS_FILE_BROWSER, GALLERY_CROP);
1629 SET_STRING(IDS_FILE_BROWSER, GALLERY_EXPOSURE); 1628 SET_STRING(IDS_FILE_BROWSER, GALLERY_EXPOSURE);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1727 SET_STRING(IDS_FILE_BROWSER, ID3_USER_DEFINED_URL_LINK_FRAME); // WXXX 1726 SET_STRING(IDS_FILE_BROWSER, ID3_USER_DEFINED_URL_LINK_FRAME); // WXXX
1728 1727
1729 // File types 1728 // File types
1730 SET_STRING(IDS_FILE_BROWSER, FOLDER); 1729 SET_STRING(IDS_FILE_BROWSER, FOLDER);
1731 SET_STRING(IDS_FILE_BROWSER, DEVICE); 1730 SET_STRING(IDS_FILE_BROWSER, DEVICE);
1732 SET_STRING(IDS_FILE_BROWSER, IMAGE_FILE_TYPE); 1731 SET_STRING(IDS_FILE_BROWSER, IMAGE_FILE_TYPE);
1733 SET_STRING(IDS_FILE_BROWSER, VIDEO_FILE_TYPE); 1732 SET_STRING(IDS_FILE_BROWSER, VIDEO_FILE_TYPE);
1734 SET_STRING(IDS_FILE_BROWSER, AUDIO_FILE_TYPE); 1733 SET_STRING(IDS_FILE_BROWSER, AUDIO_FILE_TYPE);
1735 SET_STRING(IDS_FILE_BROWSER, HTML_DOCUMENT_FILE_TYPE); 1734 SET_STRING(IDS_FILE_BROWSER, HTML_DOCUMENT_FILE_TYPE);
1736 SET_STRING(IDS_FILE_BROWSER, ZIP_ARCHIVE_FILE_TYPE); 1735 SET_STRING(IDS_FILE_BROWSER, ZIP_ARCHIVE_FILE_TYPE);
1736 SET_STRING(IDS_FILE_BROWSER, RAR_ARCHIVE_FILE_TYPE);
1737 SET_STRING(IDS_FILE_BROWSER, TAR_ARCHIVE_FILE_TYPE);
1738 SET_STRING(IDS_FILE_BROWSER, TAR_BZIP2_ARCHIVE_FILE_TYPE);
1739 SET_STRING(IDS_FILE_BROWSER, TAR_GZIP_ARCHIVE_FILE_TYPE);
1737 SET_STRING(IDS_FILE_BROWSER, PLAIN_TEXT_FILE_TYPE); 1740 SET_STRING(IDS_FILE_BROWSER, PLAIN_TEXT_FILE_TYPE);
1738 SET_STRING(IDS_FILE_BROWSER, PDF_DOCUMENT_FILE_TYPE); 1741 SET_STRING(IDS_FILE_BROWSER, PDF_DOCUMENT_FILE_TYPE);
1739 1742
1740 SET_STRING(IDS_FILE_BROWSER, ENQUEUE); 1743 SET_STRING(IDS_FILE_BROWSER, ENQUEUE);
1741 #undef SET_STRING 1744 #undef SET_STRING
1742 1745
1743 ChromeURLDataManager::DataSource::SetFontAndTextDirection(dict); 1746 ChromeURLDataManager::DataSource::SetFontAndTextDirection(dict);
1744 1747
1745 dict->SetString("PLAY_MEDIA", 1748 dict->SetString("PLAY_MEDIA",
1746 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY)); 1749 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY));
1747 1750
1748 return true; 1751 return true;
1749 } 1752 }
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698