OLD | NEW |
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 <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/memory/linked_ptr.h" | 13 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/singleton.h" | 15 #include "base/memory/singleton.h" |
16 #include "base/process.h" | 16 #include "base/process/process_metrics.h" |
17 #include "base/process_util.h" | |
18 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
19 #include "chrome/browser/performance_monitor/database.h" | 18 #include "chrome/browser/performance_monitor/database.h" |
20 #include "chrome/browser/performance_monitor/event.h" | 19 #include "chrome/browser/performance_monitor/event.h" |
21 #include "content/public/browser/notification_details.h" | 20 #include "content/public/browser/notification_details.h" |
22 #include "content/public/browser/notification_observer.h" | 21 #include "content/public/browser/notification_observer.h" |
23 #include "content/public/browser/notification_registrar.h" | 22 #include "content/public/browser/notification_registrar.h" |
24 #include "content/public/browser/notification_source.h" | 23 #include "content/public/browser/notification_source.h" |
25 #include "content/public/browser/render_process_host.h" | 24 #include "content/public/browser/render_process_host.h" |
26 | 25 |
27 namespace extensions { | 26 namespace extensions { |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 // the PERFORMANCE_MONITOR_INITIALIZED notification or should check this | 201 // the PERFORMANCE_MONITOR_INITIALIZED notification or should check this |
203 // flag. | 202 // flag. |
204 static bool initialized_; | 203 static bool initialized_; |
205 | 204 |
206 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); | 205 DISALLOW_COPY_AND_ASSIGN(PerformanceMonitor); |
207 }; | 206 }; |
208 | 207 |
209 } // namespace performance_monitor | 208 } // namespace performance_monitor |
210 | 209 |
211 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ | 210 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_H_ |
OLD | NEW |