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

Unified Diff: ceee/ie/plugin/bho/webrequest_notifier.h

Issue 5581008: Add a new GetInstance() method for singleton classes, take 2. (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: ceee/ie/plugin/bho/webrequest_notifier.h
diff --git a/ceee/ie/plugin/bho/webrequest_notifier.h b/ceee/ie/plugin/bho/webrequest_notifier.h
index 0676bf6511bf90d316427a6dfdb6642234a1d9f9..d7c1227f9564dbe5c923bcb6c642e62393f31977 100644
--- a/ceee/ie/plugin/bho/webrequest_notifier.h
+++ b/ceee/ie/plugin/bho/webrequest_notifier.h
@@ -443,9 +443,10 @@ class WebRequestNotifier {
};
// A singleton that keeps the WebRequestNotifier used by production code.
-class ProductionWebRequestNotifier
- : public WebRequestNotifier,
- public Singleton<ProductionWebRequestNotifier> {
+class ProductionWebRequestNotifier : public WebRequestNotifier {
+ public:
+ static ProductionWebRequestNotifier* GetInstance();
+
private:
ProductionWebRequestNotifier() {}

Powered by Google App Engine
This is Rietveld 408576698