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

Unified Diff: chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h

Issue 10907121: Add guards to metric values; erase bad events/metrics from db (Closed) Base URL: http://git.chromium.org/chromium/src.git@dc_use_units
Patch Set: Estade's requests 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/ui/webui/performance_monitor/performance_monitor_ui_util.h
diff --git a/chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h b/chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h
index 8064981754ef1024975ffc7343b1eced4707fc4a..58691d92ca90ce984043b5187f1bf05040bbe479 100644
--- a/chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h
+++ b/chrome/browser/ui/webui/performance_monitor/performance_monitor_ui_util.h
@@ -23,6 +23,7 @@ double GetConversionFactor(UnitDetails from, UnitDetails to);
// |start| and data points are omitted if there are no points to resample.
// Returns a pointer to a new MetricVector, or NULL if |metrics| is empty.
scoped_ptr<Database::MetricVector> AggregateMetric(
+ MetricType type,
const Database::MetricVector* metrics,
const base::Time& start,
const base::TimeDelta& resolution);

Powered by Google App Engine
This is Rietveld 408576698