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

Unified Diff: content/browser/plugin_loader_posix.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/browser/plugin_loader_posix.cc
===================================================================
--- content/browser/plugin_loader_posix.cc (revision 212369)
+++ content/browser/plugin_loader_posix.cc (working copy)
@@ -10,9 +10,9 @@
#include "base/metrics/histogram.h"
#include "content/browser/utility_process_host_impl.h"
#include "content/common/child_process_host_impl.h"
+#include "content/common/plugin_list.h"
#include "content/common/utility_messages.h"
#include "content/public/browser/browser_thread.h"
-#include "webkit/plugins/npapi/plugin_list.h"
namespace content {
@@ -75,12 +75,10 @@
next_load_index_ = 0;
canonical_list_.clear();
- webkit::npapi::PluginList::Singleton()->GetPluginPathsToLoad(
- &canonical_list_);
+ PluginList::Singleton()->GetPluginPathsToLoad(&canonical_list_);
internal_plugins_.clear();
- webkit::npapi::PluginList::Singleton()->GetInternalPlugins(
- &internal_plugins_);
+ PluginList::Singleton()->GetInternalPlugins(&internal_plugins_);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
base::Bind(&PluginLoaderPosix::LoadPluginsInternal,
@@ -163,7 +161,7 @@
if (next_load_index_ < canonical_list_.size())
return false;
- webkit::npapi::PluginList::Singleton()->SetPlugins(loaded_plugins_);
+ PluginList::Singleton()->SetPlugins(loaded_plugins_);
// Only call the first callback with loaded plugins because there may be
// some extra plugin paths added since the first callback is added.

Powered by Google App Engine
This is Rietveld 408576698