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

Unified Diff: chrome/plugin/plugin_thread.cc

Issue 6012002: Move the NPAPI files from webkit/glue/plugins to webkit/plugins/npapi and put... (Closed) Base URL: svn://chrome-svn/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_delegate_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/plugin/plugin_thread.cc
===================================================================
--- chrome/plugin/plugin_thread.cc (revision 69426)
+++ chrome/plugin/plugin_thread.cc (working copy)
@@ -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 @@
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 @@
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_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698