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

Unified Diff: chrome/browser/download/download_file.cc

Issue 287017: Disable system suspend while downloading files on win32.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: 'Fix Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/download/download_file.h ('k') | chrome/browser/power_save_blocker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_file.cc
===================================================================
--- chrome/browser/download/download_file.cc (revision 29355)
+++ chrome/browser/download/download_file.cc (working copy)
@@ -65,7 +65,8 @@
request_id_(info->request_id),
bytes_so_far_(0),
path_renamed_(false),
- in_progress_(true) {
+ in_progress_(true),
+ dont_sleep_(true) {
}
DownloadFile::~DownloadFile() {
« no previous file with comments | « chrome/browser/download/download_file.h ('k') | chrome/browser/power_save_blocker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698