Index: base/nix/mime_util_xdg.cc |
diff --git a/base/nix/mime_util_xdg.cc b/base/nix/mime_util_xdg.cc |
index f78b6aba558e4209c30354df4cb6458aac79b814..f6e755eede3f1771322eb4c28cf3283e374e6751 100644 |
--- a/base/nix/mime_util_xdg.cc |
+++ b/base/nix/mime_util_xdg.cc |
@@ -29,11 +29,5 @@ std::string GetFileMimeType(const FilePath& filepath) { |
return xdg_mime_get_mime_type_from_file_name(filepath.value().c_str()); |
} |
-std::string GetDataMimeType(const std::string& data) { |
- ThreadRestrictions::AssertIOAllowed(); |
- AutoLock scoped_lock(g_mime_util_xdg_lock.Get()); |
- return xdg_mime_get_mime_type_for_data(data.data(), data.length(), NULL); |
-} |
- |
} // namespace nix |
} // namespace base |