+const WebString& TestPlugin::canCreateWithoutRendererMimeType()
+{
+ const CR_DEFINE_STATIC_LOCAL(WebString, kCanCreateWithoutRendererMimeType, ("application/x-webkit-test-webplugin-can-create-without-renderer"));
+ return kCanCreateWithoutRendererMimeType;
+}
+
+const WebString& TestPlugin::pluginPersistsMimeType()
+{
+ const CR_DEFINE_STATIC_LOCAL(WebString, kPluginPersistsMimeType, ("application/x-webkit-test-webplugin-persistent"));
+ return kPluginPersistsMimeType;
+}
+
+bool TestPlugin::isSupportedMimeType(const WebString& mimeType)
+{
+ return mimeType == TestPlugin::mimeType()
+ || mimeType == pluginPersistsMimeType()
+ || mimeType == canCreateWithoutRendererMimeType();
+}
+