Chromium Code Reviews| 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 ff254839e99e56282a8812f5e25291cf1b5a1e0a..168c527a3e0ec40da8685a34b6756a2ae22a18bc 100644 |
| --- a/content/browser/download/download_request_core.h |
| +++ b/content/browser/download/download_request_core.h |
| @@ -18,10 +18,7 @@ |
| #include "content/public/browser/download_interrupt_reasons.h" |
| #include "content/public/browser/download_save_info.h" |
| #include "content/public/browser/download_url_parameters.h" |
| - |
| -namespace device { |
| -class PowerSaveBlocker; |
| -} // namespace device |
| +#include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h" |
| namespace net { |
| class HttpResponseHeaders; |
| @@ -148,7 +145,7 @@ class CONTENT_EXPORT DownloadRequestCore |
| // Keeps the system from sleeping while this is alive. If the |
|
blundell
2017/05/12 12:42:18
"while this is alive" isn't correct anymore. Maybe
ke.he
2017/05/12 16:09:38
Done.
|
| // system enters power saving mode while a request is alive, it can cause the |
|
blundell
2017/05/12 12:42:18
"request" is ambiguous now. Let's say "URLRequest"
ke.he
2017/05/12 16:09:38
Done.
|
| // request to fail and the associated download will be interrupted. |
| - std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_; |
| + device::mojom::WakeLockServicePtr wake_lock_; |
| // The following are used to collect stats. |
| base::TimeTicks download_start_time_; |