Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Issue 2695683002: Change NtpTime representation to single uint64_t (Closed)

Created:
3 years, 10 months ago by danilchap
Modified:
3 years, 10 months ago
Reviewers:
perkj_webrtc
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, zhengzhonghou_agora.io, tterriberry_mozilla.com, fengyue_agora.io, peah-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change NtpTime representation to single uint64_t Add explicit conversions to/from uint64_t uint64_t is natural type for NtpTime, including wrap on overflow. BUG=None Review-Url: https://codereview.webrtc.org/2695683002 Cr-Commit-Position: refs/heads/master@{#16624} Committed: https://chromium.googlesource.com/external/webrtc/+/27260ced9fc3e57e51b6be7ca42ae71b28d742e7

Patch Set 1 #

Total comments: 4

Patch Set 2 : kRate -> kFractionsPerSecond #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M webrtc/system_wrappers/include/ntp_time.h View 1 1 chunk +15 lines, -17 lines 0 comments Download
M webrtc/system_wrappers/source/ntp_time_unittest.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
danilchap
3 years, 10 months ago (2017-02-13 11:52:19 UTC) #2
perkj_webrtc
https://codereview.webrtc.org/2695683002/diff/1/webrtc/system_wrappers/include/ntp_time.h File webrtc/system_wrappers/include/ntp_time.h (right): https://codereview.webrtc.org/2695683002/diff/1/webrtc/system_wrappers/include/ntp_time.h#newcode19 webrtc/system_wrappers/include/ntp_time.h:19: static constexpr uint64_t kRate = 0x100000000; What does rate ...
3 years, 10 months ago (2017-02-14 09:22:39 UTC) #3
danilchap
https://codereview.webrtc.org/2695683002/diff/1/webrtc/system_wrappers/include/ntp_time.h File webrtc/system_wrappers/include/ntp_time.h (right): https://codereview.webrtc.org/2695683002/diff/1/webrtc/system_wrappers/include/ntp_time.h#newcode19 webrtc/system_wrappers/include/ntp_time.h:19: static constexpr uint64_t kRate = 0x100000000; On 2017/02/14 09:22:39, ...
3 years, 10 months ago (2017-02-14 15:00:42 UTC) #4
perkj_webrtc
lgtm
3 years, 10 months ago (2017-02-15 06:19:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2695683002/20001
3 years, 10 months ago (2017-02-15 08:37:01 UTC) #7
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 09:18:20 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/27260ced9fc3e57e51b6be7ca...

Powered by Google App Engine
This is Rietveld 408576698