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

Unified Diff: content/plugin/plugin_channel.cc

Issue 19761007: Move NPAPI implementation out of webkit/plugins/npapi and into content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 7 years, 5 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: content/plugin/plugin_channel.cc
===================================================================
--- content/plugin/plugin_channel.cc (revision 212369)
+++ content/plugin/plugin_channel.cc (working copy)
@@ -12,6 +12,7 @@
#include "base/synchronization/waitable_event.h"
#include "build/build_config.h"
#include "content/child/child_process.h"
+#include "content/child/npapi/plugin_instance.h"
#include "content/child/plugin_messages.h"
#include "content/common/plugin_process_messages.h"
#include "content/plugin/plugin_thread.h"
@@ -19,7 +20,6 @@
#include "content/plugin/webplugin_proxy.h"
#include "content/public/common/content_switches.h"
#include "third_party/WebKit/public/web/WebBindings.h"
-#include "webkit/plugins/npapi/plugin_instance.h"
#if defined(OS_POSIX)
#include "base/posix/eintr_wrapper.h"
@@ -312,8 +312,7 @@
bool success = false;
CommandLine* command_line = CommandLine::ForCurrentProcess();
base::FilePath path = command_line->GetSwitchValuePath(switches::kPluginPath);
- scoped_refptr<webkit::npapi::PluginLib> plugin_lib(
- webkit::npapi::PluginLib::CreatePluginLib(path));
+ scoped_refptr<PluginLib> plugin_lib(PluginLib::CreatePluginLib(path));
if (plugin_lib.get()) {
NPError err = plugin_lib->NP_Initialize();
if (err == NPERR_NO_ERROR) {

Powered by Google App Engine
This is Rietveld 408576698