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

Unified Diff: webkit/glue/plugins/plugin_stream.cc

Issue 27222: Chrome side to implement WebMimeRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months 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
Index: webkit/glue/plugins/plugin_stream.cc
===================================================================
--- webkit/glue/plugins/plugin_stream.cc (revision 10468)
+++ webkit/glue/plugins/plugin_stream.cc (working copy)
@@ -12,8 +12,8 @@
#include "base/string_util.h"
#include "base/message_loop.h"
+#include "net/base/mime_util.h"
#include "webkit/glue/plugins/plugin_instance.h"
-#include "webkit/glue/webkit_glue.h"
#include "googleurl/src/gurl.h"
namespace NPAPI {
@@ -57,7 +57,7 @@
#elif defined(OS_POSIX)
FilePath path(gurl.path());
#endif
- if (webkit_glue::GetMimeTypeFromFile(path, &temp_mime_type))
+ if (net::GetMimeTypeFromFile(path, &temp_mime_type))
char_mime_type = temp_mime_type.c_str();
}

Powered by Google App Engine
This is Rietveld 408576698