commit | 297ccb8018a6c2da5df6cd4e860e6cfc4b395e40 | [log] [tgz] |
---|---|---|
author | Mark <mtlieuu@chromium.org> | Fri Dec 07 01:21:54 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 01:21:54 2018 |
tree | 5c9c4b9aefc4f65fb2d32db81ab3e1cff1bcef3c | |
parent | 0c33e07c15885a19bea8dfccaf773209165b992a [diff] |
Consolidate calls to clock sources to OfflineClock #3 This change further changes direct calls to Time::Now or the default base::Clock instance to an OfflineClock module within classes which need a Clock pointer to be passed into the class. This eliminates the need for testing-only functions and further allows ease of testing. This change is specific to production files and their related tests in: components/offline_pages/core/ Bug: 906903 Change-Id: I579d9b8e9c785e0c004ecc3d25e05f7aa031fe4c Reviewed-on: https://chromium-review.googlesource.com/c/1359487 Reviewed-by: Carlos Knippschild <carlosk@chromium.org> Commit-Queue: Mark Lieu <mtlieuu@chromium.org> Cr-Commit-Position: refs/heads/master@{#614549}
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 .