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

Unified Diff: net/base/platform_mime_util_linux.cc

Issue 1134393002: Implement ChromeOS mime type extension mappings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to platform_mime_util_chromeos.cc Created 5 years, 7 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: net/base/platform_mime_util_linux.cc
diff --git a/net/base/platform_mime_util_linux.cc b/net/base/platform_mime_util_linux.cc
index ff7f79b1549fe81313df94c66e572f0a5b739926..96b29fac23042ef3859d3c3a9e84e5b53684b2a2 100644
--- a/net/base/platform_mime_util_linux.cc
+++ b/net/base/platform_mime_util_linux.cc
@@ -22,6 +22,8 @@ bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension(
const base::FilePath::StringType& ext, std::string* result) const {
return android::GetMimeTypeFromExtension(ext, result);
}
+#elif defined(OS_CHROMEOS)
eroman 2015/05/15 09:05:33 Actually, I think we need to remove this file from
yawano 2015/05/15 09:19:50 _linux.cc is included in chromeos build. Changing
eroman 2015/05/18 01:00:08 Yes that sounds like a good approach (use the same
yawano 2015/05/18 08:59:44 Done.
+// Implemented in platform_mime_util_chromeos.cc.
#else
bool PlatformMimeUtil::GetPlatformMimeTypeFromExtension(
const base::FilePath::StringType& ext, std::string* result) const {

Powered by Google App Engine
This is Rietveld 408576698