summaryrefslogtreecommitdiff
path: root/content/browser/download/download_file_impl.cc
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2014-04-16 11:17:03 +0100
committerBen Murdoch <benm@google.com>2014-04-16 11:17:03 +0100
commita02191e04bc25c4935f804f2c080ae28663d096d (patch)
tree3cf38961650b5734763e473336009287244306ac /content/browser/download/download_file_impl.cc
parent8bad47e0f7d0c250a0443923cceb52f4a4abcd40 (diff)
downloadchromium_org-a02191e04bc25c4935f804f2c080ae28663d096d.tar.gz
Merge from Chromium at DEPS revision 263965
This commit was generated by merge_to_master.py. Change-Id: Ia1121eddd985123f160afde6372525c3d25975bf
Diffstat (limited to 'content/browser/download/download_file_impl.cc')
-rw-r--r--content/browser/download/download_file_impl.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
index 4298952714..11e98cb726 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -18,7 +18,6 @@
#include "content/browser/download/download_stats.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_destination_observer.h"
-#include "content/public/browser/power_save_blocker.h"
#include "net/base/io_buffer.h"
namespace content {
@@ -36,7 +35,6 @@ DownloadFileImpl::DownloadFileImpl(
bool calculate_hash,
scoped_ptr<ByteStreamReader> stream,
const net::BoundNetLog& bound_net_log,
- scoped_ptr<PowerSaveBlocker> power_save_blocker,
base::WeakPtr<DownloadDestinationObserver> observer)
: file_(save_info->file_path,
url,
@@ -51,8 +49,7 @@ DownloadFileImpl::DownloadFileImpl(
bytes_seen_(0),
bound_net_log_(bound_net_log),
observer_(observer),
- weak_factory_(this),
- power_save_blocker_(power_save_blocker.Pass()) {
+ weak_factory_(this) {
}
DownloadFileImpl::~DownloadFileImpl() {