DeleteInstanceForTesting method for the DesktopSessionDurationTracker
This method deletes the instance and resets it to nullptr to avoid memory leaks in tests. Bug: 743049 Change-Id: Ib14253155c2282dd8c4cedcc9bc25f7389ae7a28 Reviewed-on: https://chromium-review.googlesource.com/571504Reviewed-by:Robert Kaplow <rkaplow@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Reviewed-by:
Chris Hamilton <chrisha@chromium.org> Commit-Queue: Catherine Chung <catherinechung@google.com> Cr-Commit-Position: refs/heads/master@{#487994}
Showing
Please register or sign in to comment