| 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 11779488c3c5f19b822619ff9f3a841cfa434878..6587201eac89c1d1134cd41ce7d4de543591cefd 100644
|
| --- a/chrome/browser/performance_monitor/performance_monitor_util.h
|
| +++ b/chrome/browser/performance_monitor/performance_monitor_util.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_
|
| #define CHROME_BROWSER_PERFORMANCE_MONITOR_UTIL_H_
|
|
|
| +#include "base/threading/sequenced_worker_pool.h"
|
| #include "base/time.h"
|
| #include "chrome/browser/performance_monitor/event.h"
|
| #include "chrome/browser/performance_monitor/metric_info.h"
|
| @@ -24,6 +25,12 @@ std::vector<MetricInfo> AggregateMetric(
|
| 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
|
| +// PostTaskToDatabaseThreadAndReply.
|
| +bool PostTaskToDatabaseThreadAndReply(const base::Closure& request,
|
| + const base::Closure& reply);
|
| +
|
| // These are a collection of methods designed to create an event to store the
|
| // pertinent information, given all the fields. Please use these methods to
|
| // create any PerformanceMonitor events, as this will ensure strong-typing
|
|
|