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_UTIL_H_ | 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_ |
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_ | 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_ |
7 | 7 |
8 #include "base/time.h" | 8 #include "base/time.h" |
9 #include "chrome/browser/performance_monitor/event.h" | 9 #include "chrome/browser/performance_monitor/event.h" |
10 #include "chrome/browser/performance_monitor/metric_info.h" | 10 #include "chrome/browser/performance_monitor/metric_info.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 scoped_ptr<Event> CreateRendererFreezeEvent( | 77 scoped_ptr<Event> CreateRendererFreezeEvent( |
78 const base::Time& time, | 78 const base::Time& time, |
79 const std::string& url); | 79 const std::string& url); |
80 | 80 |
81 scoped_ptr<Event> CreateCrashEvent( | 81 scoped_ptr<Event> CreateCrashEvent( |
82 const base::Time& time, | 82 const base::Time& time, |
83 const EventType& type, | 83 const EventType& type, |
84 const std::string& url); | 84 const std::string& url); |
85 | 85 |
86 scoped_ptr<Event> CreateUncleanShutdownEvent(const base::Time& time); | 86 scoped_ptr<Event> CreateUncleanExitEvent(const base::Time& time, |
| 87 const std::string& profile_name); |
87 | 88 |
88 scoped_ptr<Event> CreateChromeUpdateEvent( | 89 scoped_ptr<Event> CreateChromeUpdateEvent( |
89 const base::Time& time, | 90 const base::Time& time, |
90 const std::string& previous_version, | 91 const std::string& previous_version, |
91 const std::string& current_version); | 92 const std::string& current_version); |
92 | 93 |
93 } // namespace util | 94 } // namespace util |
94 } // namespace performance_monitor | 95 } // namespace performance_monitor |
95 | 96 |
96 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H__ | 97 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H__ |
OLD | NEW |