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

Unified Diff: content/browser/download/download_manager_impl_unittest.cc

Issue 10542089: Power save blocker: switch to new implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
Index: content/browser/download/download_manager_impl_unittest.cc
===================================================================
--- content/browser/download/download_manager_impl_unittest.cc (revision 141149)
+++ content/browser/download/download_manager_impl_unittest.cc (working copy)
@@ -394,7 +394,7 @@
new DownloadRequestHandle(),
manager,
calculate_hash,
- scoped_ptr<PowerSaveBlocker>(NULL).Pass(),
+ scoped_ptr<content::PowerSaveBlocker>(NULL).Pass(),
net::BoundNetLog()),
forced_error_(net::OK) {
}
@@ -565,7 +565,7 @@
stream_reader.Pass(),
new DownloadRequestHandle(),
download_manager_, false,
- scoped_ptr<PowerSaveBlocker>(NULL).Pass(),
+ scoped_ptr<content::PowerSaveBlocker>(NULL).Pass(),
net::BoundNetLog()));
AddDownloadToFileManager(info->download_id, download_file);
download_file->Initialize();
@@ -1131,7 +1131,7 @@
new DownloadFileImpl(info.get(), stream_output.Pass(),
new DownloadRequestHandle(),
download_manager_, false,
- scoped_ptr<PowerSaveBlocker>(NULL).Pass(),
+ scoped_ptr<content::PowerSaveBlocker>(NULL).Pass(),
net::BoundNetLog()));
download_file->Rename(cr_path);
// This creates the .temp version of the file.
@@ -1210,7 +1210,7 @@
new DownloadFileImpl(info.get(), stream_output.Pass(),
new DownloadRequestHandle(),
download_manager_, false,
- scoped_ptr<PowerSaveBlocker>(NULL).Pass(),
+ scoped_ptr<content::PowerSaveBlocker>(NULL).Pass(),
net::BoundNetLog()));
download_file->Rename(cr_path);
// This creates the .temp version of the file.

Powered by Google App Engine
This is Rietveld 408576698