Index: content/common/inter_process_time_ticks_converter.cc |
diff --git a/content/common/inter_process_time_ticks_converter.cc b/content/common/inter_process_time_ticks_converter.cc |
index de3fb13d9913d54f06136406bb3c095982edb358..e0c12e2bba34a9698ec9263c2acb25df7e7abbbe 100644 |
--- a/content/common/inter_process_time_ticks_converter.cc |
+++ b/content/common/inter_process_time_ticks_converter.cc |
@@ -72,4 +72,13 @@ int64 InterProcessTimeTicksConverter::Convert(int64 value) const { |
return numerator_ * value / denominator_; |
} |
+bool InterProcessTimeTicksConverter::IsSkewAdditiveForMetrics() const { |
+ return numerator_ == 1 && denominator_ == 1; |
+} |
+ |
+base::TimeDelta InterProcessTimeTicksConverter::GetSkewForMetrics() const { |
+ return base::TimeTicks::FromInternalValue(remote_lower_bound_) - |
+ base::TimeTicks::FromInternalValue(local_base_time_); |
+} |
+ |
} // namespace content |