summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 16:40:10 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 16:40:10 +0000
commita9bb6f69b32018c245e05a79011114653fe8f5e0 (patch)
treec4fe6b5db0e508f860c82feb44245bf549d608ff /webkit/port
parentf23423a1245dffc2a368708fafd2867d2cf3e0f8 (diff)
downloadchromium_src-a9bb6f69b32018c245e05a79011114653fe8f5e0.zip
chromium_src-a9bb6f69b32018c245e05a79011114653fe8f5e0.tar.gz
chromium_src-a9bb6f69b32018c245e05a79011114653fe8f5e0.tar.bz2
Move some more classes from net/base into the net:: namespace.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/bridge/PluginsWin.cpp2
-rw-r--r--webkit/port/platform/MIMETypeRegistry.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/webkit/port/bridge/PluginsWin.cpp b/webkit/port/bridge/PluginsWin.cpp
index b310b36..f1f837d 100644
--- a/webkit/port/bridge/PluginsWin.cpp
+++ b/webkit/port/bridge/PluginsWin.cpp
@@ -109,7 +109,7 @@ bool PluginInfoStore::supportsMIMEType(const WebCore::String &mime_type)
for (size_t i = 0; i < g_plugins.size(); ++i) {
for (size_t j = 0; j < g_plugins[i].mime_types.size(); ++j) {
- if (mime_util::MatchesMimeType(
+ if (net::MatchesMimeType(
g_plugins[i].mime_types[j].mime_type,
WideToNativeMB(converted_mime_type))) {
// Don't allow wildcard matches here as this will result in
diff --git a/webkit/port/platform/MIMETypeRegistry.cpp b/webkit/port/platform/MIMETypeRegistry.cpp
index 4905004..6c936d1 100644
--- a/webkit/port/platform/MIMETypeRegistry.cpp
+++ b/webkit/port/platform/MIMETypeRegistry.cpp
@@ -71,13 +71,13 @@ String MIMETypeRegistry::getMIMETypeForPath(const String& path)
bool MIMETypeRegistry::isSupportedImageMIMEType(const String& mimeType)
{
return !mimeType.isEmpty()
- && mime_util::IsSupportedImageMimeType(mimeType.latin1().data());
+ && net::IsSupportedImageMimeType(mimeType.latin1().data());
}
bool MIMETypeRegistry::isSupportedJavaScriptMIMEType(const String& mimeType)
{
return !mimeType.isEmpty()
- && mime_util::IsSupportedJavascriptMimeType(mimeType.latin1().data());
+ && net::IsSupportedJavascriptMimeType(mimeType.latin1().data());
}
bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
@@ -88,7 +88,7 @@ bool MIMETypeRegistry::isSupportedImageResourceMIMEType(const String& mimeType)
bool MIMETypeRegistry::isSupportedNonImageMIMEType(const String& mimeType)
{
return !mimeType.isEmpty()
- && mime_util::IsSupportedNonImageMimeType(mimeType.latin1().data());
+ && net::IsSupportedNonImageMimeType(mimeType.latin1().data());
}
bool MIMETypeRegistry::isJavaAppletMIMEType(const String& mimeType)