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

Unified Diff: content/browser/plugin_loader_posix.cc

Issue 19518006: Remove the two years old code to enable the nacl plugin once if it's disabled. This was added to de… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/plugin_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_loader_posix.cc
===================================================================
--- content/browser/plugin_loader_posix.cc (revision 212045)
+++ content/browser/plugin_loader_posix.cc (working copy)
@@ -75,11 +75,11 @@
next_load_index_ = 0;
canonical_list_.clear();
- PluginServiceImpl::GetInstance()->GetPluginList()->GetPluginPathsToLoad(
+ webkit::npapi::PluginList::Singleton()->GetPluginPathsToLoad(
Bernhard Bauer 2013/07/17 15:59:52 Is this related to this change?
jam 2013/07/17 16:02:16 yep, I removed PluginService::GetPluginList since
Bernhard Bauer 2013/07/17 16:06:33 But... it's used by this class, no? :) The least-
jam 2013/07/17 16:10:43 My plan is to remove MockPluginList since most of
&canonical_list_);
internal_plugins_.clear();
- PluginServiceImpl::GetInstance()->GetPluginList()->GetInternalPlugins(
+ webkit::npapi::PluginList::Singleton()->GetInternalPlugins(
&internal_plugins_);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
@@ -163,8 +163,7 @@
if (next_load_index_ < canonical_list_.size())
return false;
- PluginServiceImpl::GetInstance()->GetPluginList()->SetPlugins(
- loaded_plugins_);
+ webkit::npapi::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.
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/plugin_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698