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

Unified Diff: tools/perf/measurements/tab_switching.py

Issue 22754003: Refactor BenchmarkResult.Add to take enum for data_type (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 4 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: tools/perf/measurements/tab_switching.py
===================================================================
--- tools/perf/measurements/tab_switching.py (revision 217866)
+++ tools/perf/measurements/tab_switching.py (working copy)
@@ -12,6 +12,7 @@
from metrics import histogram_util
from telemetry.core import util
from telemetry.page import page_measurement
+from telemetry.page import result_data_type
from telemetry.page import page_runner
# TODO: Revisit this test once multitab support is finalized.
@@ -62,4 +63,4 @@
first_histogram)
results.AddSummary(histogram_name, '', diff_histogram,
- data_type='unimportant-histogram')
+ data_type=result_data_type.UNIMPORTANT_HISTOGRAM)

Powered by Google App Engine
This is Rietveld 408576698