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

Issue 1835053002: Change default timestamp to 64 bits in all webrtc directories. (Closed)

Created:
4 years, 9 months ago by honghaiz3
Modified:
4 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change default timestamp to 64 bits in all webrtc directories. BUG= R=pbos@webrtc.org, pthatcher@webrtc.org, solenberg@webrtc.org Committed: https://crrev.com/82d7862fe736f851ea1cf28e8b2ce9fa6be37e45 Cr-Commit-Position: refs/heads/master@{#12646}

Patch Set 1 : #

Total comments: 25

Patch Set 2 : #

Patch Set 3 : Minor fix in timeutils.h #

Patch Set 4 : Address comments #

Total comments: 6

Patch Set 5 : Addressed comments. Merge with head. Also Replaced all call to rtc::Time with TimeMillis #

Patch Set 6 : Changed PostAt method in MessageQueue so that it won't break Chrome build #

Patch Set 7 : #

Patch Set 8 : minor fixes #

Total comments: 2

Patch Set 9 : Address pbos comment #

Patch Set 10 : Add TODO for timestamp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -361 lines) Patch
M webrtc/api/dtmfsender_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/api/peerconnectionendtoend_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/peerconnectionfactory.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/test/fakeaudiocapturemodule.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/api/test/fakeaudiocapturemodule.cc View 1 2 3 4 6 chunks +8 lines, -8 lines 0 comments Download
M webrtc/base/asynctcpsocket.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/asyncudpsocket.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/base/fileutils.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/gunit.h View 1 2 3 4 1 chunk +11 lines, -10 lines 0 comments Download
M webrtc/base/logging.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/logging.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/base/logging_unittest.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/base/messagequeue.h View 1 2 3 4 5 6 5 chunks +9 lines, -4 lines 0 comments Download
M webrtc/base/messagequeue.cc View 1 2 3 4 5 6 8 chunks +23 lines, -14 lines 0 comments Download
M webrtc/base/messagequeue_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/nullsocketserver_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/physicalsocketserver.cc View 1 2 3 4 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/ratetracker.h View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M webrtc/base/ratetracker.cc View 1 2 3 4 6 chunks +36 lines, -34 lines 0 comments Download
M webrtc/base/ratetracker_unittest.cc View 1 2 3 4 10 chunks +16 lines, -16 lines 0 comments Download
M webrtc/base/sharedexclusivelock_unittest.cc View 1 2 3 4 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/task_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/thread.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/timeutils.h View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -30 lines 0 comments Download
M webrtc/base/timeutils.cc View 1 2 3 4 2 chunks +4 lines, -17 lines 0 comments Download
M webrtc/base/timeutils_unittest.cc View 1 2 3 4 2 chunks +5 lines, -70 lines 0 comments Download
M webrtc/base/virtualsocket_unittest.cc View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M webrtc/base/virtualsocketserver.h View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/base/virtualsocketserver.cc View 1 2 3 4 5 chunks +25 lines, -15 lines 0 comments Download
M webrtc/base/win32socketserver.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/base/win32socketserver.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/libjingle/xmpp/pingtask.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/libjingle/xmpp/pingtask.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/libjingle/xmpp/xmpppump.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/base/rtpdump.h View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M webrtc/media/base/rtpdump.cc View 1 2 3 4 7 chunks +12 lines, -14 lines 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/port.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/pseudotcp.cc View 1 2 3 4 7 chunks +23 lines, -20 lines 0 comments Download
M webrtc/p2p/base/pseudotcp_unittest.cc View 1 3 chunks +5 lines, -4 lines 0 comments Download
M webrtc/p2p/base/stunport.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/pc/currentspeakermonitor.h View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/pc/currentspeakermonitor.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/pc/srtpfilter.h View 1 2 3 4 6 chunks +7 lines, -7 lines 0 comments Download
M webrtc/pc/srtpfilter.cc View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/fakes/conference_transport.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/fakes/conference_transport.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/test/auto_test/fakes/loudest_filter.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/fakes/loudest_filter.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/voe_conference_test.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/voe_output_test.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 50 (30 generated)
honghaiz3
4 years, 8 months ago (2016-03-30 22:44:29 UTC) #7
honghaiz3
4 years, 8 months ago (2016-03-31 17:47:50 UTC) #9
Taylor Brandstetter
Overall looks good. I'm wondering if it would make sense to use int64_t instead of ...
4 years, 8 months ago (2016-04-05 01:08:15 UTC) #10
pthatcher1
I agree with Taylor about using uint64_t instead of int. https://codereview.webrtc.org/1835053002/diff/100001/webrtc/base/messagequeue.cc File webrtc/base/messagequeue.cc (right): https://codereview.webrtc.org/1835053002/diff/100001/webrtc/base/messagequeue.cc#newcode30 ...
4 years, 8 months ago (2016-04-11 20:56:59 UTC) #11
honghaiz3
I think it is not necessary to change all time-difference to 64-bit simply because the ...
4 years, 8 months ago (2016-04-18 23:39:04 UTC) #12
Taylor Brandstetter
https://codereview.webrtc.org/1835053002/diff/100001/webrtc/base/ratetracker.h File webrtc/base/ratetracker.h (right): https://codereview.webrtc.org/1835053002/diff/100001/webrtc/base/ratetracker.h#newcode58 webrtc/base/ratetracker.h:58: const int bucket_milliseconds_; On 2016/04/18 23:39:04, honghaiz3 wrote: > ...
4 years, 8 months ago (2016-04-19 20:35:27 UTC) #13
honghaiz3
I had the intention to change all delta time to int64_t, especially those in MessageQueue, ...
4 years, 8 months ago (2016-04-22 23:45:21 UTC) #18
honghaiz3
4 years, 7 months ago (2016-04-27 16:13:25 UTC) #20
pthatcher1
lgtm, with a few minor nits https://codereview.webrtc.org/1835053002/diff/240001/webrtc/base/physicalsocketserver.cc File webrtc/base/physicalsocketserver.cc (right): https://codereview.webrtc.org/1835053002/diff/240001/webrtc/base/physicalsocketserver.cc#newcode1616 webrtc/base/physicalsocketserver.cc:1616: cmsElapsed = static_cast<int>(TimeSince(msStart)); ...
4 years, 7 months ago (2016-05-02 16:57:57 UTC) #21
honghaiz3
I merged this with the CL to replace Time64 with TimeMillis and removed all calls ...
4 years, 7 months ago (2016-05-03 21:18:26 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835053002/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835053002/440001
4 years, 7 months ago (2016-05-04 20:58:22 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5311)
4 years, 7 months ago (2016-05-04 21:05:33 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835053002/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835053002/460001
4 years, 7 months ago (2016-05-04 21:25:01 UTC) #37
honghaiz3
pbos@ and henrikg@, Can you take a look at the CL? It needs an owner ...
4 years, 7 months ago (2016-05-04 22:33:14 UTC) #39
pbos-webrtc
lgtm for webrtc/video https://codereview.webrtc.org/1835053002/diff/480001/webrtc/video/end_to_end_tests.cc File webrtc/video/end_to_end_tests.cc (right): https://codereview.webrtc.org/1835053002/diff/480001/webrtc/video/end_to_end_tests.cc#newcode2935 webrtc/video/end_to_end_tests.cc:2935: int32_t timestamp_gap = timestamp - latest_observed; ...
4 years, 7 months ago (2016-05-05 15:43:56 UTC) #40
honghaiz3
solenberg@ or herikg@, Can one of you take a look at the CL? I need ...
4 years, 7 months ago (2016-05-05 17:25:16 UTC) #42
the sun
On 2016/05/05 17:25:16, honghaiz3 wrote: > solenberg@ or herikg@, > > Can one of you ...
4 years, 7 months ago (2016-05-06 09:16:00 UTC) #43
honghaiz3
On 2016/05/06 09:16:00, the sun wrote: > On 2016/05/05 17:25:16, honghaiz3 wrote: > > solenberg@ ...
4 years, 7 months ago (2016-05-06 17:18:13 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1835053002/520001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1835053002/520001
4 years, 7 months ago (2016-05-06 17:25:21 UTC) #47
honghaiz3
4 years, 7 months ago (2016-05-06 18:29:36 UTC) #49
Message was sent while issue was closed.
Committed patchset #10 (id:520001) manually as
82d7862fe736f851ea1cf28e8b2ce9fa6be37e45 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698