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

Unified Diff: net/base/platform_mime_util_linux.cc

Issue 8538008: Linux: Move base/mime_util* to base/nix. It's not used on any other platform. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « content/browser/tab_contents/web_drag_source_gtk.cc ('k') | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/platform_mime_util_linux.cc
===================================================================
--- net/base/platform_mime_util_linux.cc (revision 109608)
+++ net/base/platform_mime_util_linux.cc (working copy)
@@ -12,7 +12,7 @@
#if defined(OS_ANDROID)
#include "net/android/network_library.h"
#else
-#include "base/mime_util.h"
+#include "base/nix/mime_util_xdg.h"
#endif
namespace net {
@@ -33,7 +33,7 @@
return false;
FilePath dummy_path("foo." + ext);
- std::string out = mime_util::GetFileMimeType(dummy_path);
+ std::string out = base::nix::GetFileMimeType(dummy_path);
// GetFileMimeType likes to return application/octet-stream
// for everything it doesn't know - ignore that.
« no previous file with comments | « content/browser/tab_contents/web_drag_source_gtk.cc ('k') | tools/valgrind/memcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698