Chromium Code Reviews| Index: webrtc/api/stats/rtcstats.h |
| diff --git a/webrtc/api/stats/rtcstats.h b/webrtc/api/stats/rtcstats.h |
| index b3afee069561f01e5a4e041cbd4650f460481080..ae4afec017bb9813e343904efa35f56ddb4c0374 100644 |
| --- a/webrtc/api/stats/rtcstats.h |
| +++ b/webrtc/api/stats/rtcstats.h |
| @@ -60,6 +60,9 @@ class RTCStats { |
| const std::string& id() const { return id_; } |
| // Time relative to the UNIX epoch (Jan 1, 1970, UTC), in microseconds. |
| int64_t timestamp_us() const { return timestamp_us_; } |
| + void set_timestamp_us_for_testing(int64_t timestamp_us) { |
|
sakal
2017/02/03 15:13:02
I would rather just do a test for the qp_sum undef
hbos
2017/02/03 16:07:31
Oops, I actually don't need this, comparison opera
|
| + timestamp_us_ = timestamp_us; |
| + } |
| // Returns the static member variable |kType| of the implementing class. |
| virtual const char* type() const = 0; |
| // Returns a vector of pointers to all the |RTCStatsMemberInterface| members |