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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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 unified diff | Download patch
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_PERFORMANCE_MONITOR_H_ 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/lazy_instance.h" 12 #include "base/lazy_instance.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/process/process_handle.h" 14 #include "base/process/process_handle.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "chrome/browser/performance_monitor/process_metrics_history.h" 16 #include "chrome/browser/performance_monitor/process_metrics_history.h"
17 17
18 namespace content {
19 struct ChildProcessData;
20 }
21
22 namespace performance_monitor { 18 namespace performance_monitor {
23 19
24 class ProcessMetricsHistory; 20 class ProcessMetricsHistory;
25 21
26 // PerformanceMonitor is a tool which periodically monitors performance metrics 22 // PerformanceMonitor is a tool which periodically monitors performance metrics
27 // for histogram logging and possibly taking action upon noticing serious 23 // for histogram logging and possibly taking action upon noticing serious
28 // performance degradation. 24 // performance degradation.
29 class PerformanceMonitor { 25 class PerformanceMonitor {
30 public: 26 public:
31 // Returns the current PerformanceMonitor instance if one exists; otherwise 27 // Returns the current PerformanceMonitor instance if one exists; otherwise
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 65
70 // The timer to signal PerformanceMonitor to perform its timed collections. 66 // The timer to signal PerformanceMonitor to perform its timed collections.
71 base::OneShotTimer repeating_timer_; 67 base::OneShotTimer repeating_timer_;
72 68
73 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); 69 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor);
74 }; 70 };
75 71
76 } // namespace performance_monitor 72 } // namespace performance_monitor
77 73
78 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ 74 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/password_manager/password_store_x.h ('k') | chrome/browser/permissions/delegation_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698