Index: chrome/browser/performance_monitor/performance_monitor.h |
diff --git a/chrome/browser/performance_monitor/performance_monitor.h b/chrome/browser/performance_monitor/performance_monitor.h |
index e7d7b29f98ce3ea64dbcdae1c1b2c26eac7926c6..82a139d7baa5cfbe04d9f1743bb79712fc7312da 100644 |
--- a/chrome/browser/performance_monitor/performance_monitor.h |
+++ b/chrome/browser/performance_monitor/performance_monitor.h |
@@ -94,6 +94,10 @@ class PerformanceMonitor : public content::NotificationObserver { |
void AddEventOnBackgroundThread(scoped_ptr<Event> event); |
+ // Since Database::AddMetric() is overloaded, base::Bind() does not work and |
+ // we need a helper function. |
+ void AddMetricOnBackgroundThread(MetricType type, const std::string& value); |
+ |
// Gets the corresponding value of |key| from the database, and then runs |
// |callback| on the UI thread with that value as a parameter. |
void GetStateValueOnBackgroundThread( |