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

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

Issue 10915318: Revert 157168 - Add guards to metric values; erase bad events/metrics from db (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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.h
===================================================================
--- chrome/browser/performance_monitor/performance_monitor.h (revision 157181)
+++ chrome/browser/performance_monitor/performance_monitor.h (working copy)
@@ -131,9 +131,8 @@
void AddEventOnBackgroundThread(scoped_ptr<Event> event);
// Since Database::AddMetric() is overloaded, base::Bind() does not work and
- // we need a helper function. Deliberately not const & so that we will
- // construct a new metric on the background thread.
- void AddMetricOnBackgroundThread(Metric metric);
+ // we need a helper function.
+ void AddMetricOnBackgroundThread(MetricType type, const std::string& value);
// Notify any listeners that PerformanceMonitor has finished the initializing.
void NotifyInitialized();
« no previous file with comments | « chrome/browser/performance_monitor/metric.cc ('k') | chrome/browser/performance_monitor/performance_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698