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_UTIL_H_ | 5 #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_ |
6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_ | 6 #define CHROME_BROWSER_PERFORMANCE_MONITOR_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/time.h" |
10 #include "base/tracked_objects.h" | 10 #include "base/tracked_objects.h" |
11 #include "chrome/browser/performance_monitor/database.h" | 11 #include "chrome/browser/performance_monitor/database.h" |
12 #include "chrome/browser/performance_monitor/event.h" | 12 #include "chrome/browser/performance_monitor/event.h" |
13 #include "chrome/browser/performance_monitor/metric.h" | 13 #include "chrome/browser/performance_monitor/metric.h" |
14 #include "chrome/common/extensions/extension_constants.h" | 14 #include "chrome/common/extensions/extension_constants.h" |
15 | 15 |
16 namespace performance_monitor { | 16 namespace performance_monitor { |
17 namespace util { | 17 namespace util { |
18 | 18 |
19 // Posts |request| to the performance monitor database's sequenced thread. On | 19 // Posts |request| to the performance monitor database's sequenced thread. On |
(...skipping 25 matching lines...) Expand all Loading... |
45 const std::string& profile_name); | 45 const std::string& profile_name); |
46 | 46 |
47 scoped_ptr<Event> CreateChromeUpdateEvent(const base::Time& time, | 47 scoped_ptr<Event> CreateChromeUpdateEvent(const base::Time& time, |
48 const std::string& previous_version, | 48 const std::string& previous_version, |
49 const std::string& current_version); | 49 const std::string& current_version); |
50 | 50 |
51 } // namespace util | 51 } // namespace util |
52 } // namespace performance_monitor | 52 } // namespace performance_monitor |
53 | 53 |
54 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_ | 54 #endif // CHROME_BROWSER_PERFORMANCE_MONITOR_PERFORMANCE_MONITOR_UTIL_H_ |
OLD | NEW |