Index: chrome/browser/chrome_browser_main.h |
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h |
index 1b16d9c7a491aafcb96ad531b2181abb06d589ca..c820c168ee1f50d949285d3a0afc91dae757acb2 100644 |
--- a/chrome/browser/chrome_browser_main.h |
+++ b/chrome/browser/chrome_browser_main.h |
@@ -44,6 +44,10 @@ namespace content { |
struct MainFunctionParams; |
} |
+namespace performance_monitor { |
+class StartupTimer; |
+} |
+ |
class ChromeBrowserMainParts : public content::BrowserMainParts { |
public: |
virtual ~ChromeBrowserMainParts(); |
@@ -132,6 +136,11 @@ class ChromeBrowserMainParts : public content::BrowserMainParts { |
// it is destroyed last. |
scoped_ptr<ShutdownWatcherHelper> shutdown_watcher_; |
+ // A timer to hold data regarding startup and session restore times for |
+ // PerformanceMonitor so that we don't have to start the entire |
+ // PerformanceMonitor at browser startup. |
+ scoped_ptr<performance_monitor::StartupTimer> startup_timer_; |
+ |
// Creating this object starts tracking the creation and deletion of Task |
// instance. This MUST be done before main_message_loop, so that it is |
// destroyed after the main_message_loop. |