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/callback.h" | 8 #include "base/callback.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "base/tracked_objects.h" | 10 #include "base/tracked_objects.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 const std::string& description); | 85 const std::string& description); |
86 | 86 |
87 scoped_ptr<Event> CreateRendererFreezeEvent( | 87 scoped_ptr<Event> CreateRendererFreezeEvent( |
88 const base::Time& time, | 88 const base::Time& time, |
89 const std::string& url); | 89 const std::string& url); |
90 | 90 |
91 scoped_ptr<Event> CreateCrashEvent( | 91 scoped_ptr<Event> CreateCrashEvent( |
92 const base::Time& time, | 92 const base::Time& time, |
93 const EventType& type); | 93 const EventType& type); |
94 | 94 |
95 scoped_ptr<Event> CreateUncleanShutdownEvent(const base::Time& time); | 95 scoped_ptr<Event> CreateUncleanExitEvent(const base::Time& time, |
| 96 const std::string& profile_name); |
96 | 97 |
97 scoped_ptr<Event> CreateChromeUpdateEvent( | 98 scoped_ptr<Event> CreateChromeUpdateEvent( |
98 const base::Time& time, | 99 const base::Time& time, |
99 const std::string& previous_version, | 100 const std::string& previous_version, |
100 const std::string& current_version); | 101 const std::string& current_version); |
101 | 102 |
102 } // namespace util | 103 } // namespace util |
103 } // namespace performance_monitor | 104 } // namespace performance_monitor |
104 | 105 |
105 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H__ | 106 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H__ |
OLD | NEW |