Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / browser / download / download_file_impl.h
index 9a50870..2ba3d8d 100644 (file)
@@ -22,7 +22,6 @@ namespace content {
 class ByteStreamReader;
 class DownloadDestinationObserver;
 class DownloadManager;
-class PowerSaveBlocker;
 struct DownloadCreateInfo;
 
 class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
@@ -43,7 +42,6 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
     bool calculate_hash,
     scoped_ptr<ByteStreamReader> stream,
     const net::BoundNetLog& bound_net_log,
-    scoped_ptr<PowerSaveBlocker> power_save_blocker,
     base::WeakPtr<DownloadDestinationObserver> observer);
 
   virtual ~DownloadFileImpl();
@@ -105,9 +103,6 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
 
   base::WeakPtrFactory<DownloadFileImpl> weak_factory_;
 
-  // RAII handle to keep the system from sleeping while we're downloading.
-  scoped_ptr<PowerSaveBlocker> power_save_blocker_;
-
   DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl);
 };