Index: dm/DMReporter.h |
diff --git a/dm/DMReporter.h b/dm/DMReporter.h |
index 2bb4702178a64ccf043b2ef19e475a770646005a..4f4ad432d5186db441b28401f88af11b12c59834 100644 |
--- a/dm/DMReporter.h |
+++ b/dm/DMReporter.h |
@@ -7,6 +7,7 @@ |
#include "SkTypes.h" |
// Used to report status changes including failures. All public methods are threadsafe. |
+ |
namespace DM { |
class Reporter : SkNoncopyable { |
@@ -14,12 +15,14 @@ |
Reporter() : fStarted(0), fFinished(0) {} |
void start() { sk_atomic_inc(&fStarted); } |
- void finish(SkString name); |
- void fail(SkString msg); |
+ void finish() { sk_atomic_inc(&fFinished); } |
+ void fail(SkString name); |
int32_t started() const { return fStarted; } |
int32_t finished() const { return fFinished; } |
int32_t failed() const; |
+ |
+ void updateStatusLine() const; |
void getFailures(SkTArray<SkString>*) const; |