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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 12226005: Minimize PowerSaveBlocker usage during uploading data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use OneShotTimer Created 7 years, 10 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
« no previous file with comments | « content/browser/loader/power_save_block_resource_throttle.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index edb60ab0e379bc1f0bd4e64a4c58e12544d7876c..ab37db2dfaa6846dee5ec57f541a2b2a83ce7762 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -1022,7 +1022,7 @@ void ResourceDispatcherHostImpl::BeginRequest(
if (request->has_upload()) {
// Block power save while uploading data.
- throttles.push_back(new PowerSaveBlockResourceThrottle("Uploading data."));
+ throttles.push_back(new PowerSaveBlockResourceThrottle());
}
if (request_data.resource_type == ResourceType::MAIN_FRAME) {
« no previous file with comments | « content/browser/loader/power_save_block_resource_throttle.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698