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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 5685007: Rename all methods accessing Singleton<T> as GetInstance(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 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: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index f052573b70ed0e32a6190ff57870952b1725cea8..2d99c885d8cdff73da9d55c134d3da6c7b614f8a 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -66,7 +66,7 @@ bool ExtensionHost::enable_dom_automation_ = false;
// ExtensionHosts, to avoid blocking the UI.
class ExtensionHost::ProcessCreationQueue {
public:
- static ProcessCreationQueue* get() {
+ static ProcessCreationQueue* GetInstance() {
return Singleton<ProcessCreationQueue>::get();
}
@@ -155,7 +155,7 @@ ExtensionHost::~ExtensionHost() {
NotificationType::EXTENSION_HOST_DESTROYED,
Source<Profile>(profile_),
Details<ExtensionHost>(this));
- ProcessCreationQueue::get()->Remove(this);
+ ProcessCreationQueue::GetInstance()->Remove(this);
render_view_host_->Shutdown(); // deletes render_view_host
}
@@ -197,7 +197,7 @@ void ExtensionHost::CreateRenderViewSoon(RenderWidgetHostView* host_view) {
// to defer.
CreateRenderViewNow();
} else {
- ProcessCreationQueue::get()->CreateSoon(this);
+ ProcessCreationQueue::GetInstance()->CreateSoon(this);
}
}
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extensions_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698