Index: content/common/mime_util.cc |
diff --git a/content/common/mime_util.cc b/content/common/mime_util.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e5b781a14cdcfd3f7aec2364403167c0398799e0 |
--- /dev/null |
+++ b/content/common/mime_util.cc |
@@ -0,0 +1,16 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "media/base/mime_util.h" |
+#include "net/base/mime_util.h" |
+ |
+namespace content { |
+ |
+bool IsSupportedMimeType(const std::string& mime_type) { |
+ return net::IsSupportedMimeType_deprecated(mime_type) || |
+ media::IsSupportedMediaMimeType(mime_type); |
+} |
+ |
+} // namespace content |
+ |