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

Side by Side Diff: chrome/browser/performance_monitor/startup_timer.h

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_STARTUP_TIMER_H_ 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_STARTUP_TIMER_H_
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_STARTUP_TIMER_H_ 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_STARTUP_TIMER_H_
7 7
8 #include "base/time.h" 8 #include "base/time/time.h"
9 #include "content/public/browser/notification_observer.h" 9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
11 11
12 namespace performance_monitor { 12 namespace performance_monitor {
13 13
14 // This class is responsible for recording the startup and session restore times 14 // This class is responsible for recording the startup and session restore times
15 // (if applicable) for PerformanceMonitor. This allows us to initialize this 15 // (if applicable) for PerformanceMonitor. This allows us to initialize this
16 // relatively small object early in the startup process, and start the whole of 16 // relatively small object early in the startup process, and start the whole of
17 // PerformanceMonitor at a later time. StartupTimer will record the times and 17 // PerformanceMonitor at a later time. StartupTimer will record the times and
18 // insert them into PerformanceMonitor's database. 18 // insert them into PerformanceMonitor's database.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // The singleton of this class. 95 // The singleton of this class.
96 static StartupTimer* g_startup_timer_; 96 static StartupTimer* g_startup_timer_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(StartupTimer); 98 DISALLOW_COPY_AND_ASSIGN(StartupTimer);
99 }; 99 };
100 100
101 } // namespace performance_monitor 101 } // namespace performance_monitor
102 102
103 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_STARTUP_TIMER_H_ 103 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_STARTUP_TIMER_H_
OLDNEW
« no previous file with comments | « chrome/browser/performance_monitor/performance_monitor_util.cc ('k') | chrome/browser/policy/async_policy_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698