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

Unified Diff: content/browser/plugin_loader_posix.cc

Issue 9006036: Create an API around PluginService and use it from Chrome. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/browser/ui/webui/plugins_ui.cc ('k') | content/browser/plugin_service.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 115169)
+++ content/browser/plugin_loader_posix.cc (working copy)
@@ -67,11 +67,11 @@
next_load_index_ = 0;
canonical_list_.clear();
- PluginService::GetInstance()->plugin_list()->GetPluginPathsToLoad(
+ PluginService::GetInstance()->GetPluginList()->GetPluginPathsToLoad(
&canonical_list_);
internal_plugins_.clear();
- PluginService::GetInstance()->plugin_list()->GetInternalPlugins(
+ PluginService::GetInstance()->GetPluginList()->GetInternalPlugins(
&internal_plugins_);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
@@ -151,7 +151,7 @@
if (next_load_index_ < canonical_list_.size())
return false;
- PluginService::GetInstance()->plugin_list()->SetPlugins(loaded_plugins_);
+ PluginService::GetInstance()->GetPluginList()->SetPlugins(loaded_plugins_);
for (std::vector<PendingCallback>::iterator it = callbacks_.begin();
it != callbacks_.end();
++it) {
« no previous file with comments | « chrome/browser/ui/webui/plugins_ui.cc ('k') | content/browser/plugin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698