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

Unified Diff: Source/platform/plugins/PluginData.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/blink_platform.gypi ('k') | Source/platform/plugins/PluginData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/plugins/PluginData.h
diff --git a/Source/core/plugins/PluginData.h b/Source/platform/plugins/PluginData.h
similarity index 89%
rename from Source/core/plugins/PluginData.h
rename to Source/platform/plugins/PluginData.h
index d60c127dd5b604e2e3af6316fe35f6dbb06e1093..0d06ca9a5e90b8ec39311a576adfd2ce21a8c59e 100644
--- a/Source/core/plugins/PluginData.h
+++ b/Source/platform/plugins/PluginData.h
@@ -20,6 +20,7 @@
#ifndef PluginData_h
#define PluginData_h
+#include "platform/PlatformExport.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
@@ -47,7 +48,7 @@ struct PluginInfo {
Vector<MimeClassInfo> mimes;
};
-class PluginData : public RefCounted<PluginData> {
+class PLATFORM_EXPORT PluginData : public RefCounted<PluginData> {
public:
static PassRefPtr<PluginData> create(const Page* page) { return adoptRef(new PluginData(page)); }
@@ -72,8 +73,8 @@ private:
};
// Checks if any of the plugins handle this extension, and if so returns the
-// plugin's mime type for this extension. Otherwise returns an empty string.
-String getPluginMimeTypeFromExtension(const String& extension);
+// plugin's mime type for this extension. Otherwise returns an empty string.
+PLATFORM_EXPORT String getPluginMimeTypeFromExtension(const String& extension);
}
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/plugins/PluginData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698