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

Unified Diff: content/common/mime_util.h

Issue 401523002: Move media related mimetype functionality out of net/ and into media/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and add content/common/mime_util.h for realz Created 6 years, 5 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/app/mojo/mojo_init.h b/content/common/mime_util.h
similarity index 50%
copy from content/app/mojo/mojo_init.h
copy to content/common/mime_util.h
index 4a4e5d4284c0199ba2606f60ab9a0a510cea8f15..903d0db0eb8819c00ab1620b8b88950a7591c8ea 100644
--- a/content/app/mojo/mojo_init.h
+++ b/content/common/mime_util.h
@@ -2,16 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_APP_MOJO_MOJO_INIT_H_
-#define CONTENT_APP_MOJO_MOJO_INIT_H_
+#ifndef CONTENT_COMMON_MIME_UTIL_H_
+#define CONTENT_COMMON_MIME_UTIL_H_
+
+#include <string>
#include "content/common/content_export.h"
namespace content {
-// Perform any necessary Mojo initialization.
-CONTENT_EXPORT void InitializeMojo();
+CONTENT_EXPORT bool IsSupportedMimeType(const std::string& mime_type);
-} // namespace content
+}
-#endif // CONTENT_COMMON_MOJO_MOJO_INIT_H_
+#endif

Powered by Google App Engine
This is Rietveld 408576698