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

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

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 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
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_request_core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_request_core.h
diff --git a/content/browser/download/download_request_core.h b/content/browser/download/download_request_core.h
index 84eb2e0a935441a361727650040a137f56038cc0..646911641b571e1589aeb174462fad51d43cd020 100644
--- a/content/browser/download/download_request_core.h
+++ b/content/browser/download/download_request_core.h
@@ -19,6 +19,10 @@
#include "content/public/browser/download_save_info.h"
#include "content/public/browser/download_url_parameters.h"
+namespace device {
+class PowerSaveBlocker;
+} // namespace device
+
namespace net {
class HttpResponseHeaders;
class URLRequest;
@@ -29,7 +33,6 @@ namespace content {
class DownloadManagerImpl;
class ByteStreamReader;
class ByteStreamWriter;
-class PowerSaveBlocker;
struct DownloadCreateInfo;
// This class encapsulates the core logic for reading data from a URLRequest and
@@ -140,7 +143,7 @@ class CONTENT_EXPORT DownloadRequestCore
// Keeps the system from sleeping while this is alive. If the
// system enters power saving mode while a request is alive, it can cause the
// request to fail and the associated download will be interrupted.
- std::unique_ptr<PowerSaveBlocker> power_save_blocker_;
+ std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
// The following are used to collect stats.
base::TimeTicks download_start_time_;
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/download_request_core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698