diff options
Diffstat (limited to 'content/browser/download/download_file_factory.cc')
-rw-r--r-- | content/browser/download/download_file_factory.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/browser/download/download_file_factory.cc b/content/browser/download/download_file_factory.cc index 4e164b3efe..a7fe7b834a 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 { @@ -13,7 +13,7 @@ DownloadFileFactory::~DownloadFileFactory() {} DownloadFile* DownloadFileFactory::CreateFile( scoped_ptr<DownloadSaveInfo> save_info, - const FilePath& default_downloads_directory, + const base::FilePath& default_downloads_directory, const GURL& url, const GURL& referrer_url, bool calculate_hash, @@ -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( |