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

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

Issue 669073003: Get rid of net::LOAD_ENABLE_UPLOAD_PROGRESS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed uninitialized value use. Created 6 years, 2 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/loader/resource_request_info_impl.cc
diff --git a/content/browser/loader/resource_request_info_impl.cc b/content/browser/loader/resource_request_info_impl.cc
index 2b16896019dd5e271a56d371b7b554e38030dd60..8cae9a5c93bc3a0b6824558674256f30a5b2fe1b 100644
--- a/content/browser/loader/resource_request_info_impl.cc
+++ b/content/browser/loader/resource_request_info_impl.cc
@@ -49,6 +49,7 @@ void ResourceRequestInfo::AllocateForTesting(net::URLRequest* request,
true, // allow_download
false, // has_user_gesture
false, // enable load timing
+ false, // enable upload progress
blink::WebReferrerPolicyDefault, // referrer_policy
blink::WebPageVisibilityStateVisible, // visibility_state
context, // context
@@ -104,6 +105,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
bool allow_download,
bool has_user_gesture,
bool enable_load_timing,
+ bool enable_upload_progress,
blink::WebReferrerPolicy referrer_policy,
blink::WebPageVisibilityState visibility_state,
ResourceContext* context,
@@ -126,6 +128,7 @@ ResourceRequestInfoImpl::ResourceRequestInfoImpl(
allow_download_(allow_download),
has_user_gesture_(has_user_gesture),
enable_load_timing_(enable_load_timing),
+ enable_upload_progress_(enable_upload_progress),
was_ignored_by_handler_(false),
counted_as_in_flight_request_(false),
resource_type_(resource_type),
« no previous file with comments | « content/browser/loader/resource_request_info_impl.h ('k') | content/browser/loader/resource_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698