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

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

Issue 10797056: CPM: API changes for API/UI integration. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced 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 8a7a6058b270d48b975225b27a72f45fa2d373c0..55c52cd38f6fa245d92b39c376cd4923a52f8f44 100644
--- a/chrome/browser/performance_monitor/performance_monitor_util.h
+++ b/chrome/browser/performance_monitor/performance_monitor_util.h
@@ -7,6 +7,7 @@
#include "base/callback.h"
#include "base/time.h"
+#include "base/tracked_objects.h"
#include "chrome/browser/performance_monitor/event.h"
#include "chrome/browser/performance_monitor/metric_info.h"
#include "chrome/common/extensions/extension_constants.h"
@@ -28,8 +29,10 @@ std::vector<MetricInfo> AggregateMetric(
// 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);
+bool PostTaskToDatabaseThreadAndReply(
+ const tracked_objects::Location& from_here,
+ 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