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

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

Issue 669073003: Get rid of net::LOAD_ENABLE_UPLOAD_PROGRESS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/content/browser/loader/resource_request_info_impl.h b/content/browser/loader/resource_request_info_impl.h
index 866e38b8d6532996971fd3ef889dbf679d734a32..95e1b5329d14131b3699f6b9a30aaac86d6d63cf 100644
--- a/content/browser/loader/resource_request_info_impl.h
+++ b/content/browser/loader/resource_request_info_impl.h
@@ -57,6 +57,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
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,
@@ -165,6 +166,8 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool is_load_timing_enabled() const { return enable_load_timing_; }
+ bool is_upload_progress_enabled() const { return enable_upload_progress_; }
+
private:
FRIEND_TEST_ALL_PREFIXES(ResourceDispatcherHostTest,
DeletedFilterDetached);
@@ -189,6 +192,7 @@ class ResourceRequestInfoImpl : public ResourceRequestInfo,
bool allow_download_;
bool has_user_gesture_;
bool enable_load_timing_;
+ bool enable_upload_progress_;
bool was_ignored_by_handler_;
bool counted_as_in_flight_request_;
ResourceType resource_type_;

Powered by Google App Engine
This is Rietveld 408576698