Index: chrome/browser/chrome_browser_main.h |
diff --git a/chrome/browser/chrome_browser_main.h b/chrome/browser/chrome_browser_main.h |
index 00c05d098141af22013e9cc3cf5c863e4e0813f3..56a40222dbbb18fe24f5806cfd79b87b0c8ce0ca 100644 |
--- a/chrome/browser/chrome_browser_main.h |
+++ b/chrome/browser/chrome_browser_main.h |
@@ -43,6 +43,10 @@ namespace content { |
struct MainFunctionParams; |
} |
+namespace performance_monitor { |
+class StartupTimer; |
+} |
+ |
class ChromeBrowserMainParts : public content::BrowserMainParts { |
public: |
virtual ~ChromeBrowserMainParts(); |
@@ -177,6 +181,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. |