webrtc/system_wrappers
Paul Hallak 704d6e518a Consolidate the different NTP clocks into one.
WebRTC code has two ways of querying for the NTP time:
- rtc::TimeMillis() + NtpOffsetMs()
- Clock::CurrentNtpTime

`Clock::CurrentNtpTime` is not monotonic and is platform dependent.
This CL changes its implementation return `rtc::TimeMillis() +
NtpOffsetMs()`

More info is available in the attached bug.

Bug: webrtc:11327
Change-Id: I34fe4cc2d321c2b63275c93be21122c9de1ab403
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/213425
Commit-Queue: Paul Hallak <phallak@google.com>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33655}
2021-04-08 13:54:04 +00:00
..
include Consolidate the different NTP clocks into one. 2021-04-08 13:54:04 +00:00
source Consolidate the different NTP clocks into one. 2021-04-08 13:54:04 +00:00
BUILD.gn Remove from chromium build targets that are not compatible with it. 2021-02-01 13:46:19 +00:00
DEPS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00