Index: cc/test/test_now_source.h |
diff --git a/cc/test/test_now_source.h b/cc/test/test_now_source.h |
index 54e5a28494bf52c814d6dcab32f6bfa391d32346..9b46bbe70f1d42ef7be6a7bd3a30ca4093216056 100644 |
--- a/cc/test/test_now_source.h |
+++ b/cc/test/test_now_source.h |
@@ -37,6 +37,8 @@ class TestNowSource : public base::RefCounted<TestNowSource> { |
void AsValueInto(base::trace_event::TracedValue* state) const; |
std::string ToString() const; |
+ int NumNowCalls() const { return num_now_calls_; } |
+ |
protected: |
TestNowSource(); |
explicit TestNowSource(int64_t initial); |
@@ -44,6 +46,7 @@ class TestNowSource : public base::RefCounted<TestNowSource> { |
base::TimeTicks initial_; |
base::TimeTicks now_; |
+ mutable int num_now_calls_; |
private: |
friend class base::RefCounted<TestNowSource>; |