Comment #1 on issue 25420 by [email protected]: Inhibit power
management when downloading or playing videos (Windows)
http://code.google.com/p/chromium/issues/detail?id=25420
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=29873
------------------------------------------------------------------------
r29873 | [email protected] | 2009-10-22 21:18:05 -0700 (Thu, 22 Oct 2009) |
17 lines
Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/AUTHORS?r1=29873&r2=29872
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/download/download_file.cc?r1=29873&r2=29872
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/download/download_file.h?r1=29873&r2=29872
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/power_save_blocker.h
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/power_save_blocker_common.cc
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/power_save_blocker_stub.cc
A
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/power_save_blocker_win.cc
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/chrome.gyp?r1=29873&r2=29872
Disable system suspend while downloading files on win32.
If the system goes into power-save sleep mode while downloading files,
the download fails. So, prevent sleep mode until the download finishes.
This patch introduces a new RAII class to request that the system's
power-save mode be disabled - PowerSaveBlocker.
This is only implemented for win32; other platforms are stubbed out.
This only partially implements bug 25420 it only attempts to handle the
downloading case.
Patch by Bryan Donlan <[email protected]>
BUG=25420
TEST=Download a large file with the system sleep timeout set to a short
interval.
Review URL: http://codereview.chromium.org/287017
------------------------------------------------------------------------
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---