Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Issue 3948001: Revert 63176 - Fix regression where high resolution timers could be activated... (Closed)

Created:
10 years, 2 months ago by Mike Belshe
Modified:
9 years, 5 months ago
Reviewers:
Mike Belshe
CC:
chromium-reviews, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Revert 63176 - Fix regression where high resolution timers could be activated even under battery power. Add unit test to protect chromium from developers like me in the future. The fix is a one-liner in hi_res_timer_manager_win.cc. The rest of the code change is the mechanics to enable the unit test. BUG=59528 TEST=HiResTimerManagerTest.ToggleOnOff Review URL: http://codereview.chromium.org/3848002 TBR=mbelshe@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=63177

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -102 lines) Patch
M app/app.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M app/hi_res_timer_manager.h View 1 chunk +1 line, -4 lines 0 comments Download
D app/hi_res_timer_manager_unittest.cc View 1 chunk +0 lines, -51 lines 0 comments Download
M app/hi_res_timer_manager_win.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M base/message_loop.cc View 2 chunks +3 lines, -14 lines 0 comments Download
M base/time.h View 2 chunks +1 line, -10 lines 0 comments Download
M base/time_win.cc View 2 chunks +4 lines, -19 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
Mike Belshe
10 years, 2 months ago (2010-10-20 03:53:06 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698