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