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

Unified Diff: content/child/simple_webmimeregistry_impl.cc

Issue 1476763004: Remove unused code from WebMimeRegistry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove implementations Created 5 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/child/simple_webmimeregistry_impl.h ('k') | content/common/mime_registry_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/simple_webmimeregistry_impl.cc
diff --git a/content/child/simple_webmimeregistry_impl.cc b/content/child/simple_webmimeregistry_impl.cc
index 98936816a9c2143fbd1b720fb4f3ae22fbf3c6e8..d65a0ccfe4ecee3c0d60a32c422e80ceec49df9d 100644
--- a/content/child/simple_webmimeregistry_impl.cc
+++ b/content/child/simple_webmimeregistry_impl.cc
@@ -99,12 +99,4 @@ WebString SimpleWebMimeRegistryImpl::wellKnownMimeTypeForExtension(
return WebString::fromUTF8(mime_type);
}
-WebString SimpleWebMimeRegistryImpl::mimeTypeFromFile(
- const WebString& file_path) {
- std::string mime_type;
- net::GetMimeTypeFromFile(base::FilePath::FromUTF16Unsafe(file_path),
- &mime_type);
- return WebString::fromUTF8(mime_type);
-}
-
} // namespace content
« no previous file with comments | « content/child/simple_webmimeregistry_impl.h ('k') | content/common/mime_registry_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698