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

Issue 2514553003: Change rtc::TimeNanos and rtc::TimeMicros return value from uint64_t to int64_t. (Closed)

Created:
4 years, 1 month ago by nisse-webrtc
Modified:
4 years ago
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, henrika_webrtc, zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, audio-team_agora.io, sdk-team_agora.io, peah-webrtc, perkj_webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change rtc::TimeNanos and rtc::TimeMicros return value from uint64_t to int64_t. Also updated types close to call sites. BUG=webrtc:6733 Committed: https://crrev.com/deb95f32f47ea09e10a8c7c209dca3b9dce7f3d8 Cr-Commit-Position: refs/heads/master@{#15255}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix signed/unsigned mismatch. #

Patch Set 3 : Drop one more unsigned suffix. #

Total comments: 8

Patch Set 4 : Rebased, on top of fixed BoringSSL TimeCallback.' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -45 lines) Patch
M webrtc/api/stats/rtcstatsreport.h View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/fakeclock.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/base/fakeclock.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/base/opensslstreamadapter.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/socket_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/timeutils.h View 4 chunks +6 lines, -5 lines 0 comments Download
M webrtc/base/timeutils.cc View 3 chunks +5 lines, -5 lines 0 comments Download
M webrtc/base/timeutils_unittest.cc View 1 2 chunks +12 lines, -12 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_buffer.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_device/audio_device_buffer.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/video_capture/test/video_capture_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codecs/test/videoprocessor.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/stats/rtcstatsreport.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (15 generated)
nisse-webrtc
4 years, 1 month ago (2016-11-18 14:52:42 UTC) #2
nisse-webrtc
Seems the change needs synchronization with chrome, where the cast at https://codesearch.chromium.org/chromium/src/remoting/protocol/webrtc_video_renderer_adapter.cc?q=WebrtcVideoRendererAdapter::OnFrame&sq=package:chromium&dr=CSs&l=99 should be deleted, ...
4 years, 1 month ago (2016-11-18 15:21:41 UTC) #3
hbos
lgtm provided it does not break chromium https://codereview.webrtc.org/2514553003/diff/1/webrtc/base/fakeclock.h File webrtc/base/fakeclock.h (right): https://codereview.webrtc.org/2514553003/diff/1/webrtc/base/fakeclock.h#newcode40 webrtc/base/fakeclock.h:40: int64_t time_ ...
4 years, 1 month ago (2016-11-18 15:23:41 UTC) #4
the sun
lgtm
4 years, 1 month ago (2016-11-18 16:39:44 UTC) #5
pthatcher1
lgtm https://codereview.webrtc.org/2514553003/diff/40001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2514553003/diff/40001/webrtc/base/opensslstreamadapter.cc#newcode69 webrtc/base/opensslstreamadapter.cc:69: // TODO(nisse): The below looks very wrong. Why?
4 years, 1 month ago (2016-11-18 22:11:16 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/2514553003/diff/40001/webrtc/base/opensslstreamadapter.cc File webrtc/base/opensslstreamadapter.cc (right): https://codereview.webrtc.org/2514553003/diff/40001/webrtc/base/opensslstreamadapter.cc#newcode69 webrtc/base/opensslstreamadapter.cc:69: // TODO(nisse): The below looks very wrong. On 2016/11/18 ...
4 years, 1 month ago (2016-11-21 07:45:07 UTC) #7
nisse-webrtc
OWNER's approval needed: henrikg: audio_device mflodman: video_capture sprang: videoprocessor Some types are changed from uint64_t ...
4 years, 1 month ago (2016-11-21 11:48:07 UTC) #13
sprang_webrtc
lgtm for videoprocessor
4 years, 1 month ago (2016-11-21 12:05:31 UTC) #14
kwiberg-webrtc
https://codereview.webrtc.org/2514553003/diff/40001/webrtc/api/stats/rtcstatsreport.h File webrtc/api/stats/rtcstatsreport.h (right): https://codereview.webrtc.org/2514553003/diff/40001/webrtc/api/stats/rtcstatsreport.h#newcode60 webrtc/api/stats/rtcstatsreport.h:60: int64_t timestamp_us() const { return timestamp_us_; } These are ...
4 years, 1 month ago (2016-11-21 12:12:34 UTC) #16
Henrik Grunell WebRTC
webrtc/modules/audio_device/ lgtm
4 years, 1 month ago (2016-11-21 12:30:43 UTC) #17
nisse-webrtc
https://codereview.webrtc.org/2514553003/diff/40001/webrtc/api/stats/rtcstatsreport.h File webrtc/api/stats/rtcstatsreport.h (right): https://codereview.webrtc.org/2514553003/diff/40001/webrtc/api/stats/rtcstatsreport.h#newcode60 webrtc/api/stats/rtcstatsreport.h:60: int64_t timestamp_us() const { return timestamp_us_; } On 2016/11/21 ...
4 years, 1 month ago (2016-11-21 12:39:12 UTC) #18
kwiberg-webrtc
lgtm
4 years ago (2016-11-23 14:19:45 UTC) #19
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/2514553003/60001
4 years ago (2016-11-28 09:32:37 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-28 09:54:59 UTC) #28
commit-bot: I haz the power
4 years ago (2016-11-28 09:55:09 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/deb95f32f47ea09e10a8c7c209dca3b9dce7f3d8
Cr-Commit-Position: refs/heads/master@{#15255}

Powered by Google App Engine
This is Rietveld 408576698