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

Unified Diff: chrome/browser/crash_handler_host_linux.h

Issue 5519016: Add a new GetInstance() method for singleton classes used in chrome/browser files. (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/crash_handler_host_linux.h
diff --git a/chrome/browser/crash_handler_host_linux.h b/chrome/browser/crash_handler_host_linux.h
index bc2214bf3d4dbb5b99c12cc4a97a3056a7a7d84f..b3d784ae582a76b72e09c4baeee43cab1608af75 100644
--- a/chrome/browser/crash_handler_host_linux.h
+++ b/chrome/browser/crash_handler_host_linux.h
@@ -79,6 +79,10 @@ class CrashHandlerHostLinux : public MessageLoopForIO::Watcher,
};
class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux {
+ public:
+ // Returns the singleton instance.
+ static PluginCrashHandlerHostLinux* GetInstance();
+
private:
friend struct DefaultSingletonTraits<PluginCrashHandlerHostLinux>;
PluginCrashHandlerHostLinux();
@@ -92,6 +96,10 @@ class PluginCrashHandlerHostLinux : public CrashHandlerHostLinux {
};
class RendererCrashHandlerHostLinux : public CrashHandlerHostLinux {
+ public:
+ // Returns the singleton instance.
+ static RendererCrashHandlerHostLinux* GetInstance();
+
private:
friend struct DefaultSingletonTraits<RendererCrashHandlerHostLinux>;
RendererCrashHandlerHostLinux();

Powered by Google App Engine
This is Rietveld 408576698