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

Unified Diff: content/browser/plugin_loader_posix.cc

Issue 9019004: Rename PluginService to PluginServiceImpl. (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
Index: content/browser/plugin_loader_posix.cc
===================================================================
--- content/browser/plugin_loader_posix.cc (revision 115259)
+++ content/browser/plugin_loader_posix.cc (working copy)
@@ -23,7 +23,7 @@
void PluginLoaderPosix::LoadPlugins(
scoped_refptr<base::MessageLoopProxy> target_loop,
- const PluginService::GetPluginsCallback& callback) {
+ const content::PluginService::GetPluginsCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
callbacks_.push_back(PendingCallback(target_loop, callback));
@@ -68,11 +68,11 @@
next_load_index_ = 0;
canonical_list_.clear();
- PluginService::GetInstance()->GetPluginList()->GetPluginPathsToLoad(
+ PluginServiceImpl::GetInstance()->GetPluginList()->GetPluginPathsToLoad(
&canonical_list_);
internal_plugins_.clear();
- PluginService::GetInstance()->GetPluginList()->GetInternalPlugins(
+ PluginServiceImpl::GetInstance()->GetPluginList()->GetInternalPlugins(
&internal_plugins_);
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
@@ -152,7 +152,8 @@
if (next_load_index_ < canonical_list_.size())
return false;
- PluginService::GetInstance()->GetPluginList()->SetPlugins(loaded_plugins_);
+ PluginServiceImpl::GetInstance()->GetPluginList()->SetPlugins(
+ loaded_plugins_);
for (std::vector<PendingCallback>::iterator it = callbacks_.begin();
it != callbacks_.end();
++it) {
@@ -171,7 +172,7 @@
PluginLoaderPosix::PendingCallback::PendingCallback(
scoped_refptr<base::MessageLoopProxy> loop,
- const PluginService::GetPluginsCallback& cb)
+ const content::PluginService::GetPluginsCallback& cb)
: target_loop(loop),
callback(cb) {
}

Powered by Google App Engine
This is Rietveld 408576698