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

Unified Diff: chrome_frame/dll_redirector.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: chrome_frame/dll_redirector.h
diff --git a/chrome_frame/dll_redirector.h b/chrome_frame/dll_redirector.h
index be8a89b5153b678fe5a41e77de9241197573bcf7..1e126297f89a830c90d052929f36fd5b40754a72 100644
--- a/chrome_frame/dll_redirector.h
+++ b/chrome_frame/dll_redirector.h
@@ -33,6 +33,9 @@ class Version;
// 3) The module this is compiled into is built with version info.
class DllRedirector {
public:
+ // Returns the singleton instance.
+ static DllRedirector* GetInstance();
+
virtual ~DllRedirector();
// Attempts to register this Chrome Frame version as the first loaded version

Powered by Google App Engine
This is Rietveld 408576698