summaryrefslogtreecommitdiff
path: root/chromium/third_party/catapult/tracing/tracing/mre/progress_reporter.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/catapult/tracing/tracing/mre/progress_reporter.py')
-rw-r--r--chromium/third_party/catapult/tracing/tracing/mre/progress_reporter.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/third_party/catapult/tracing/tracing/mre/progress_reporter.py b/chromium/third_party/catapult/tracing/tracing/mre/progress_reporter.py
new file mode 100644
index 00000000000..b33d744da13
--- /dev/null
+++ b/chromium/third_party/catapult/tracing/tracing/mre/progress_reporter.py
@@ -0,0 +1,27 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+class RunReporter(object):
+
+ def __init__(self, canonical_url):
+ self.canonical_url = canonical_url
+
+ def DidAddFailure(self, failure):
+ pass
+
+ def DidRun(self, run_failed):
+ pass
+
+
+# Derived from telemetry ProgressReporter. Should stay close in architecture
+# to telemetry ProgressReporter.
+class ProgressReporter(object):
+
+ def WillRun(self, canonical_url):
+ return RunReporter(canonical_url)
+
+ # TODO(eakuefner): Implement reduction, make this not take a result list.
+ def DidFinishAllRuns(self, result_list):
+ pass