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

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: Missed a rename. 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 89e200ba466b535b115cd80fd16a17807baa0222..b1365fd8f9ed8aa3d6cee70c810dd663c902962f 100644
--- a/chrome/browser/performance_monitor/performance_monitor_util.h
+++ b/chrome/browser/performance_monitor/performance_monitor_util.h
@@ -25,10 +25,11 @@ std::vector<MetricInfo> AggregateMetric(
const base::Time& start,
const base::TimeDelta& resolution);
-// Post a task to the database using the kDatabaseSequenceToken and reply; this
-// is useful in the absence of a PostBlockingPoolSequencedTaskAndReply method.
-bool PostTaskToDatabaseAndReply(const base::Closure& request,
- const base::Closure& reply);
+// 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

Powered by Google App Engine
This is Rietveld 408576698