| Index: content/browser/download/download_file_factory.cc
|
| diff --git a/content/browser/download/download_file_factory.cc b/content/browser/download/download_file_factory.cc
|
| index 4e164b3efe0a53419ba1da193ac3cd775e199132..aff2ade2aa8b964003f59f39a130e93544bcac01 100644
|
| --- a/content/browser/download/download_file_factory.cc
|
| +++ b/content/browser/download/download_file_factory.cc
|
| @@ -5,7 +5,7 @@
|
| #include "content/browser/download/download_file_factory.h"
|
|
|
| #include "content/browser/download/download_file_impl.h"
|
| -#include "content/browser/power_save_blocker.h"
|
| +#include "content/public/browser/power_save_blocker.h"
|
|
|
| namespace content {
|
|
|
| @@ -21,7 +21,7 @@ DownloadFile* DownloadFileFactory::CreateFile(
|
| const net::BoundNetLog& bound_net_log,
|
| base::WeakPtr<DownloadDestinationObserver> observer) {
|
| scoped_ptr<PowerSaveBlocker> psb(
|
| - new PowerSaveBlocker(
|
| + PowerSaveBlocker::Create(
|
| PowerSaveBlocker::kPowerSaveBlockPreventAppSuspension,
|
| "Download in progress"));
|
| return new DownloadFileImpl(
|
|
|