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

Unified Diff: chrome/browser/platform_util_chromeos.cc

Issue 2758004: Adding support for .txt files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 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 | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/media_common.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/platform_util_chromeos.cc
===================================================================
--- chrome/browser/platform_util_chromeos.cc (revision 49178)
+++ chrome/browser/platform_util_chromeos.cc (working copy)
@@ -50,6 +50,7 @@
ext == ".jpeg" ||
ext == ".png" ||
ext == ".gif" ||
+ ext == ".txt" ||
ext == ".html" ||
ext == ".htm") {
std::string path;
@@ -69,6 +70,7 @@
return;
}
if (ext == ".avi" ||
+ ext == ".wav" ||
ext == ".mp4" ||
ext == ".mp3" ||
ext == ".mkv" ||
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/media_common.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698