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

Unified Diff: Source/platform/MIMETypeRegistry.h

Issue 55143009: Move MIMEType classes to Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 7 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 | « Source/platform/MIMETypeFromURL.cpp ('k') | Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/MIMETypeRegistry.h
diff --git a/Source/core/platform/MIMETypeRegistry.h b/Source/platform/MIMETypeRegistry.h
similarity index 95%
rename from Source/core/platform/MIMETypeRegistry.h
rename to Source/platform/MIMETypeRegistry.h
index 983aa853ab5eeb75c27d84d5d405da65cfa8e605..9a6f8814f8ae25d285ad6ca920082610d1cc0500 100644
--- a/Source/core/platform/MIMETypeRegistry.h
+++ b/Source/platform/MIMETypeRegistry.h
@@ -26,6 +26,7 @@
#ifndef MIMETypeRegistry_h
#define MIMETypeRegistry_h
+#include "platform/PlatformExport.h"
#include "wtf/HashSet.h"
#include "wtf/Vector.h"
#include "wtf/text/StringHash.h"
@@ -33,7 +34,7 @@
namespace WebCore {
-class MIMETypeRegistry {
+class PLATFORM_EXPORT MIMETypeRegistry {
public:
static String getMIMETypeForExtension(const String& extension);
static String getWellKnownMIMETypeForExtension(const String& extension);
@@ -56,7 +57,7 @@ public:
static bool isSupportedJavaScriptMIMEType(const String& mimeType);
// Check to see if a non-image mime type is suitable for being loaded as a
- // document in a frame. Includes supported JavaScript MIME types.
+ // document in a frame. Includes supported JavaScript MIME types.
static bool isSupportedNonImageMIMEType(const String& mimeType);
// Check to see if the mime type and codecs are supported by the MediaSource implementation.
« no previous file with comments | « Source/platform/MIMETypeFromURL.cpp ('k') | Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698