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

Issue 1793553002: Using 64-bit timestamp in webrtc/p2p (Closed)

Created:
4 years, 9 months ago by honghaiz3
Modified:
4 years, 9 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Using 64-bit timestamp to replace the 32-bit one in webrtc/p2p. Also changed from unsigned to signed integer per the style guide. By the way, I kept all delta-times to be 32-bit int. The only things left in the p2p dir are 1. proberprober/main.cc where Time() is used as the input for a random number. 2. pseudotcp.cc: where 32-bit time info is sent over the wire. BUG=webrtc:5636 Committed: https://crrev.com/34b11eb66e538092a938db6f1e6fc973341941c6 Cr-Commit-Position: refs/heads/master@{#12019}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -130 lines) Patch
M webrtc/base/timeutils.h View 1 2 chunks +16 lines, -1 line 0 comments Download
M webrtc/base/timeutils.cc View 1 2 chunks +9 lines, -1 line 0 comments Download
M webrtc/base/timeutils_unittest.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/p2p/base/faketransportcontroller.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.h View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel.cc View 7 chunks +7 lines, -7 lines 0 comments Download
M webrtc/p2p/base/p2ptransportchannel_unittest.cc View 5 chunks +8 lines, -6 lines 0 comments Download
M webrtc/p2p/base/port.h View 8 chunks +28 lines, -28 lines 0 comments Download
M webrtc/p2p/base/port.cc View 12 chunks +20 lines, -20 lines 0 comments Download
M webrtc/p2p/base/port_unittest.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M webrtc/p2p/base/relayport.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/p2p/base/relayserver.h View 2 chunks +4 lines, -4 lines 0 comments Download
M webrtc/p2p/base/relayserver.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M webrtc/p2p/base/stunport.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M webrtc/p2p/base/stunrequest.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/stunrequest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/p2p/base/stunrequest_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/p2p/base/turnport.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/turnport.cc View 4 chunks +5 lines, -6 lines 0 comments Download
M webrtc/p2p/base/turnport_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/turnserver.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/p2p/base/turnserver.cc View 6 chunks +9 lines, -8 lines 0 comments Download
M webrtc/p2p/stunprober/main.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/stunprober/stunprober.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/p2p/stunprober/stunprober.cc View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
honghaiz3
PTAL. Thanks! https://codereview.webrtc.org/1793553002/diff/80001/webrtc/p2p/base/faketransportcontroller.h File webrtc/p2p/base/faketransportcontroller.h (right): https://codereview.webrtc.org/1793553002/diff/80001/webrtc/p2p/base/faketransportcontroller.h#newcode208 webrtc/p2p/base/faketransportcontroller.h:208: rtc::SentPacket sent_packet(options.packet_id, rtc::Time64()); SentPacket take int64_t as ...
4 years, 9 months ago (2016-03-14 22:36:00 UTC) #6
pthatcher1
https://codereview.webrtc.org/1793553002/diff/80001/webrtc/base/timeutils.h File webrtc/base/timeutils.h (right): https://codereview.webrtc.org/1793553002/diff/80001/webrtc/base/timeutils.h#newcode38 webrtc/base/timeutils.h:38: uint32_t Time(); Can you make a Time32() that chooses ...
4 years, 9 months ago (2016-03-15 04:10:50 UTC) #9
honghaiz3
PTAL. https://codereview.webrtc.org/1793553002/diff/80001/webrtc/base/timeutils.h File webrtc/base/timeutils.h (right): https://codereview.webrtc.org/1793553002/diff/80001/webrtc/base/timeutils.h#newcode38 webrtc/base/timeutils.h:38: uint32_t Time(); On 2016/03/15 04:10:50, pthatcher1 wrote: > ...
4 years, 9 months ago (2016-03-15 17:35:33 UTC) #10
pthatcher1
lgtm
4 years, 9 months ago (2016-03-15 18:07:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1793553002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1793553002/100001
4 years, 9 months ago (2016-03-16 15:54:07 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 9 months ago (2016-03-16 15:55:48 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/34b11eb66e538092a938db6f1e6fc973341941c6 Cr-Commit-Position: refs/heads/master@{#12019}
4 years, 9 months ago (2016-03-16 15:55:54 UTC) #17
honghaiz3
4 years, 9 months ago (2016-03-17 02:26:28 UTC) #19
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698