summaryrefslogtreecommitdiffstats
path: root/chrome/browser/power_save_blocker.h
Commit message (Collapse)AuthorAgeFilesLines
* Move dependencies of download\base_file from chrome to content. These are ↵jam@chromium.org2011-07-151-42/+0
| | | | | | | | | all trivial file moves. BUG=82782 Review URL: http://codereview.chromium.org/7388002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92695 0039d316-1c4b-4281-b951-d872f2087c98
* Move power management calls to their own thread.avi@chromium.org2011-06-231-4/+3
| | | | | | | | | BUG=79559 TEST=as in bug Review URL: http://codereview.chromium.org/7247016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90270 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Disable system suspend while downloading files on win32.mark@chromium.org2009-10-231-0/+42
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 <bdonlan@gmail.com> BUG=25420 TEST=Download a large file with the system sleep timeout set to a short interval. Review URL: http://codereview.chromium.org/287017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29873 0039d316-1c4b-4281-b951-d872f2087c98