| Index: chrome/browser/performance_monitor/performance_monitor_util.h
|
| diff --git a/chrome/browser/performance_monitor/performance_monitor_util.h b/chrome/browser/performance_monitor/performance_monitor_util.h
|
| index 9d2eca288b54a427b4d553cc2678abb89d227c96..90761b3916824fdc2d2fb79b56fdd800228596ca 100644
|
| --- a/chrome/browser/performance_monitor/performance_monitor_util.h
|
| +++ b/chrome/browser/performance_monitor/performance_monitor_util.h
|
| @@ -8,8 +8,9 @@
|
| #include "base/callback.h"
|
| #include "base/time.h"
|
| #include "base/tracked_objects.h"
|
| +#include "chrome/browser/performance_monitor/database.h"
|
| #include "chrome/browser/performance_monitor/event.h"
|
| -#include "chrome/browser/performance_monitor/metric_info.h"
|
| +#include "chrome/browser/performance_monitor/metric.h"
|
| #include "chrome/common/extensions/extension_constants.h"
|
|
|
| namespace performance_monitor {
|
| @@ -21,10 +22,9 @@ namespace util {
|
| // metric data points to a sample period of |resolution| beginning at |start|.
|
| // Each sampling window starts and ends at an integer multiple away from
|
| // |start| and data points are omitted if there are no points to resample.
|
| -std::vector<MetricInfo> AggregateMetric(
|
| - const std::vector<MetricInfo>& metric_infos,
|
| - const base::Time& start,
|
| - const base::TimeDelta& resolution);
|
| +Database::MetricVector AggregateMetric(const Database::MetricVector& metrics,
|
| + const base::Time& start,
|
| + const base::TimeDelta& resolution);
|
|
|
| // Posts |request| to the performance monitor database's sequenced thread. On
|
| // completion |reply| is posted to the thread that called
|
|
|