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

Unified Diff: chrome/plugin/plugin_thread.cc

Issue 5996003: Revert "Revert 69755 - Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 | « chrome/plugin/plugin_thread.h ('k') | chrome/plugin/webplugin_accelerated_surface_proxy_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/plugin_thread.cc
diff --git a/chrome/plugin/plugin_thread.cc b/chrome/plugin/plugin_thread.cc
index 7e2b921995eec40af0713e4ecb3c34b8af2163aa..8edcbbdb4e2e4ce3419eaeba53670256c149e6f5 100644
--- a/chrome/plugin/plugin_thread.cc
+++ b/chrome/plugin/plugin_thread.cc
@@ -29,9 +29,9 @@
#include "chrome/renderer/render_thread.h"
#include "ipc/ipc_channel_handle.h"
#include "net/base/net_errors.h"
-#include "webkit/glue/plugins/plugin_lib.h"
#include "webkit/glue/webkit_glue.h"
-#include "webkit/glue/plugins/webplugin_delegate_impl.h"
+#include "webkit/plugins/npapi/plugin_lib.h"
+#include "webkit/plugins/npapi/webplugin_delegate_impl.h"
#if defined(TOOLKIT_USES_GTK)
#include "gfx/gtk_util.h"
@@ -86,8 +86,8 @@ PluginThread::PluginThread()
ChromePluginLib::Create(plugin_path_, GetCPBrowserFuncsForPlugin());
- scoped_refptr<NPAPI::PluginLib> plugin(
- NPAPI::PluginLib::CreatePluginLib(plugin_path_));
+ scoped_refptr<webkit::npapi::PluginLib> plugin(
+ webkit::npapi::PluginLib::CreatePluginLib(plugin_path_));
if (plugin.get()) {
plugin->NP_Initialize();
@@ -115,7 +115,7 @@ PluginThread::~PluginThread() {
preloaded_plugin_module_ = NULL;
}
PluginChannelBase::CleanupChannels();
- NPAPI::PluginLib::UnloadAllPlugins();
+ webkit::npapi::PluginLib::UnloadAllPlugins();
ChromePluginLib::UnloadAllPlugins();
if (webkit_glue::ShouldForcefullyTerminatePluginProcess())
« no previous file with comments | « chrome/plugin/plugin_thread.h ('k') | chrome/plugin/webplugin_accelerated_surface_proxy_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698