Index: chrome/browser/browser_about_handler.h |
diff --git a/chrome/browser/browser_about_handler.h b/chrome/browser/browser_about_handler.h |
index de8f1bf0a5ce9d439047f7a849e22f1782be2ef3..42db73536a273910fddd3fe6fc2ced689970276e 100644 |
--- a/chrome/browser/browser_about_handler.h |
+++ b/chrome/browser/browser_about_handler.h |
@@ -38,7 +38,8 @@ typedef std::map<std::string, std::string> AboutTcmallocOutputsType; |
class AboutTcmallocOutputs { |
public: |
- AboutTcmallocOutputs() {} |
+ // Returns the singleton instance. |
+ static AboutTcmallocOutputs* GetInstance(); |
AboutTcmallocOutputsType* outputs() { return &outputs_; } |
@@ -55,6 +56,8 @@ class AboutTcmallocOutputs { |
} |
private: |
+ AboutTcmallocOutputs() {} |
+ |
AboutTcmallocOutputsType outputs_; |
friend struct DefaultSingletonTraits<AboutTcmallocOutputs>; |