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

Unified Diff: Source/platform/MIMETypeRegistry.cpp

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/LinkHash.cpp ('k') | Source/platform/PlatformScreen.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/MIMETypeRegistry.cpp
diff --git a/Source/platform/MIMETypeRegistry.cpp b/Source/platform/MIMETypeRegistry.cpp
index 52b1c134e378d2465f3f5ee08a5f8cb52b97f846..df2428cb313f8ed54b3dd91a412bc471dedb66b5 100644
--- a/Source/platform/MIMETypeRegistry.cpp
+++ b/Source/platform/MIMETypeRegistry.cpp
@@ -41,13 +41,13 @@ namespace WebCore {
String MIMETypeRegistry::getMIMETypeForExtension(const String &ext)
{
- return WebKit::Platform::current()->mimeRegistry()->mimeTypeForExtension(ext);
+ return blink::Platform::current()->mimeRegistry()->mimeTypeForExtension(ext);
}
String MIMETypeRegistry::getWellKnownMIMETypeForExtension(const String &ext)
{
// This method must be thread safe and should not consult the OS/registry.
- return WebKit::Platform::current()->mimeRegistry()->wellKnownMimeTypeForExtension(ext);
+ return blink::Platform::current()->mimeRegistry()->wellKnownMimeTypeForExtension(ext);
}
String MIMETypeRegistry::getMIMETypeForPath(const String& path)
@@ -69,8 +69,8 @@ String MIMETypeRegistry::getMIMETypeForPath(const String& path)
bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType)
{
- return WebKit::Platform::current()->mimeRegistry()->supportsImageMIMEType(mimeType)
- != WebKit::WebMimeRegistry::IsNotSupported;
+ return blink::Platform::current()->mimeRegistry()->supportsImageMIMEType(mimeType)
+ != blink::WebMimeRegistry::IsNotSupported;
}
bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
@@ -89,20 +89,20 @@ bool MIMETypeRegistry::isSupportedImageMIMETypeForEncoding(const String& mimeTyp
bool MIMETypeRegistry::isSupportedJavaScriptMIMEType(const String& mimeType)
{
- return WebKit::Platform::current()->mimeRegistry()->supportsJavaScriptMIMEType(mimeType)
- != WebKit::WebMimeRegistry::IsNotSupported;
+ return blink::Platform::current()->mimeRegistry()->supportsJavaScriptMIMEType(mimeType)
+ != blink::WebMimeRegistry::IsNotSupported;
}
bool MIMETypeRegistry::isSupportedNonImageMIMEType(const String& mimeType)
{
- return WebKit::Platform::current()->mimeRegistry()->supportsNonImageMIMEType(mimeType)
- != WebKit::WebMimeRegistry::IsNotSupported;
+ return blink::Platform::current()->mimeRegistry()->supportsNonImageMIMEType(mimeType)
+ != blink::WebMimeRegistry::IsNotSupported;
}
bool MIMETypeRegistry::isSupportedMediaSourceMIMEType(const String& mimeType, const String& codecs)
{
return !mimeType.isEmpty()
- && WebKit::Platform::current()->mimeRegistry()->supportsMediaSourceMIMEType(mimeType, codecs);
+ && blink::Platform::current()->mimeRegistry()->supportsMediaSourceMIMEType(mimeType, codecs);
}
bool MIMETypeRegistry::isJavaAppletMIMEType(const String& mimeType)
« no previous file with comments | « Source/platform/LinkHash.cpp ('k') | Source/platform/PlatformScreen.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698