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

Unified Diff: content/common/mime_util.h

Issue 877323009: Extracted media mime type checks from net/base/ into media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fixes #1 Created 5 years, 10 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
Index: content/common/mime_util.h
diff --git a/content/common/mime_util.h b/content/common/mime_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..fb73076db40c5227e852f0f71c44ba23e1e56f37
--- /dev/null
+++ b/content/common/mime_util.h
@@ -0,0 +1,18 @@
+// 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.
+
+#ifndef CONTENT_COMMON_MIME_UTIL_H__
+#define CONTENT_COMMON_MIME_UTIL_H__
+
+#include <string>
+
+#include "content/common/content_export.h"
+
+namespace content {
+
+CONTENT_EXPORT bool IsSupportedMimeType(const std::string& mime_type);
+
+} // namespace content
+
+#endif // CONTENT_COMMON_MIME_UTIL_H__

Powered by Google App Engine
This is Rietveld 408576698