commit | 516c91431f0db6d01244d7ea0c3062682ecd3af8 | [log] [tgz] |
---|---|---|
author | Mark Lieu <mtlieuu@chromium.org> | Fri Dec 07 20:06:28 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 20:06:28 2018 |
tree | 86524bc9271b3ecda0b6efcf5cea112a4a3c9b02 | |
parent | 66a7a37669a359059140065d35dc324191f85ab8 [diff] |
Consolidate calls to clock sources to OfflineClock #1 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: chrome/browser/android/explore_sites/ components/offline_pages/core/model/ Bug: 906903 Change-Id: I02b84f65b77dc395310995c34ded41d92721aaeb Reviewed-on: https://chromium-review.googlesource.com/c/1352813 Reviewed-by: Cathy Li <chili@chromium.org> Reviewed-by: Carlos Knippschild <carlosk@chromium.org> Reviewed-by: Dan H <harringtond@google.com> Commit-Queue: Mark Lieu <mtlieuu@chromium.org> Cr-Commit-Position: refs/heads/master@{#614797}
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 .