commit | b42f77f7f404c6d6c17b99688c3d86bada540071 | [log] [tgz] |
---|---|---|
author | Tommy Steimel <steimel@chromium.org> | Tue Jun 11 20:13:23 2019 |
committer | Tommy Steimel <steimel@chromium.org> | Tue Jun 11 20:13:23 2019 |
tree | 86553a1a76cb691ada660979c0a1f19cf9a977d3 | |
parent | e24de8b0b665789459511803a707a48ffafcd381 [diff] |
Idle: Add ScopedSetIdleState to make ui/base/idle more test-friendly This CL adds a new ScopedSetIdleState class for testing that sets an overriding idle state in ui/base/idle so that classes depending on ui/base/idle can be more easily tested. (cherry picked from commit ecd097eeadf2ba1df20c0c269cedfc80912ebeb7) Bug: 951560 Change-Id: I4234af0783c7fc053620803b74f0ef6b0fc0ce4c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643414 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Tommy Steimel <steimel@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#666444} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1653869 Reviewed-by: Tommy Steimel <steimel@chromium.org> Cr-Commit-Position: refs/branch-heads/3809@{#234} Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
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 .