commit | b3e41e67541fcb9e13bde7db301402f675f38e92 | [log] [tgz] |
---|---|---|
author | Yutaka Hirano <yhirano@chromium.org> | Tue May 22 08:24:56 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 22 08:24:56 2018 |
tree | bfc1f1e3b8a6334d44492c2fae70f154f4a33f51 | |
parent | 96f80db90e5084d712bc5e9fe3fd259d82137167 [diff] |
InterProcessTimeTicksConverter miscellaneous refactorings and bug fixes This CL consists of bunch of cleanups and bug fixes: - LocalTimeTicks and RemoteTimeTicks are rewritten. They are now typedefs of SiteSpecificTimeDelta<SiteSpecificTimeLocalTag> and SiteSpecificTimeDelta<SiteSpecificTimeRemoteTag>, respectively, and have consistent methods each other. - Same for LocalTimeDelta and RemoteTimeDelta. Now they hold int64_t (via base::TimeDelta) rather than int32_t, which is good because int32_t lasts less than one hour. - This CL removes many integer operations and replaces them with base::TimeTicks and base::TimeDelta operations. This CL also removes many ToInternalValue and FromInternalValue calls which are deprecated. - InterProcessTimeTicksConverter now holds a double value for interpolation rather than two int64_t values as using int64_t leads to overflow. Bug: 824155, 835502 Change-Id: I51ed657f0370d13b509c65324afc3af81b249e37 Reviewed-on: https://chromium-review.googlesource.com/1055171 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#560511}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .