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

Unified Diff: content/browser/download/download_file_impl.h

Issue 10542089: Power save blocker: switch to new implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Index: content/browser/download/download_file_impl.h
===================================================================
--- content/browser/download/download_file_impl.h (revision 141149)
+++ content/browser/download/download_file_impl.h (working copy)
@@ -18,13 +18,12 @@
#include "content/browser/download/download_request_handle.h"
#include "net/base/net_log.h"
-class PowerSaveBlocker;
-
struct DownloadCreateInfo;
namespace content {
class ByteStreamReader;
class DownloadManager;
+class PowerSaveBlocker;
}
class CONTENT_EXPORT DownloadFileImpl : virtual public content::DownloadFile {
@@ -36,7 +35,7 @@
DownloadRequestHandleInterface* request_handle,
content::DownloadManager* download_manager,
bool calculate_hash,
- scoped_ptr<PowerSaveBlocker> power_save_blocker,
+ scoped_ptr<content::PowerSaveBlocker> power_save_blocker,
const net::BoundNetLog& bound_net_log);
virtual ~DownloadFileImpl();
@@ -104,7 +103,7 @@
base::WeakPtrFactory<DownloadFileImpl> weak_factory_;
// RAII handle to keep the system from sleeping while we're downloading.
- scoped_ptr<PowerSaveBlocker> power_save_blocker_;
+ scoped_ptr<content::PowerSaveBlocker> power_save_blocker_;
DISALLOW_COPY_AND_ASSIGN(DownloadFileImpl);
};
« no previous file with comments | « no previous file | content/browser/download/download_file_impl.cc » ('j') | content/browser/renderer_host/render_view_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698