Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: chrome/browser/performance_monitor/performance_monitor_util.h

Issue 10702117: Chrome Performance Monitor: Metric API Functions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed it up. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..4e461152a44c7e528b7fdb6472f89487f097f4ce 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,9 @@ std::vector<MetricInfo> AggregateMetric(
const base::Time& start,
const base::TimeDelta& resolution);
+bool PostTaskToDatabaseAndReply(const base::Closure& request,
Evan Stade 2012/07/10 07:59:39 docs. Also you're not really posting to a database
Matt Tytel 2012/07/10 19:08:19 Done.
+ 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

Powered by Google App Engine
This is Rietveld 408576698