| Index: content/browser/download/download_request_core.cc
|
| diff --git a/content/browser/download/download_request_core.cc b/content/browser/download/download_request_core.cc
|
| index 2f5b2f1c639fb86eb13cf2dbab3bd883f27dbf08..27965757dd063b93e8d1329e1f1bc361e09edbe0 100644
|
| --- a/content/browser/download/download_request_core.cc
|
| +++ b/content/browser/download/download_request_core.cc
|
| @@ -24,12 +24,12 @@
|
| #include "content/browser/download/download_request_handle.h"
|
| #include "content/browser/download/download_stats.h"
|
| #include "content/browser/loader/resource_dispatcher_host_impl.h"
|
| +#include "content/browser/power_save_blocker_factory.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/download_interrupt_reasons.h"
|
| #include "content/public/browser/download_item.h"
|
| #include "content/public/browser/download_manager_delegate.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| -#include "content/public/browser/power_save_blocker_factory.h"
|
| #include "content/public/browser/resource_context.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "net/base/elements_upload_data_stream.h"
|
| @@ -205,8 +205,8 @@ DownloadRequestCore::DownloadRequestCore(net::URLRequest* request,
|
| DCHECK(delegate_);
|
| RecordDownloadCount(UNTHROTTLED_COUNT);
|
| power_save_blocker_ = CreatePowerSaveBlocker(
|
| - PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
|
| - PowerSaveBlocker::kReasonOther, "Download in progress");
|
| + device::PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
|
| + device::PowerSaveBlocker::kReasonOther, "Download in progress");
|
| DownloadRequestData* request_data = DownloadRequestData::Get(request_);
|
| if (request_data) {
|
| save_info_ = request_data->TakeSaveInfo();
|
|
|