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

Unified Diff: components/mime_util/mime_util.cc

Issue 1123343007: iOS experiments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added media_blink dependency on media_mime_util 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
« no previous file with comments | « components/mime_util/DEPS ('k') | components/mime_util/mime_util.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mime_util/mime_util.cc
diff --git a/components/mime_util/mime_util.cc b/components/mime_util/mime_util.cc
index a017f459bfffeea41a5e3a2d18c598ef8bf0e396..0f38f19aad7c7928be4712cbd045ecd67759a289 100644
--- a/components/mime_util/mime_util.cc
+++ b/components/mime_util/mime_util.cc
@@ -8,6 +8,7 @@
#include "base/lazy_instance.h"
#include "base/strings/string_util.h"
#include "build/build_config.h"
+#include "media/base/mime_util.h"
namespace mime_util {
@@ -157,7 +158,7 @@ bool MimeUtil::IsSupportedNonImageMimeType(const std::string& mime_type) const {
!IsUnsupportedTextMimeType(mime_type)) ||
(StartsWithASCII(mime_type, "application/", false) &&
net::MatchesMimeType("application/*+json", mime_type)) ||
- net::IsSupportedMediaMimeType(mime_type);
+ media::IsSupportedMediaMimeType(mime_type);
}
bool MimeUtil::IsUnsupportedTextMimeType(const std::string& mime_type) const {
« no previous file with comments | « components/mime_util/DEPS ('k') | components/mime_util/mime_util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698