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

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: 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
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 696eaa2c871a95a6ca2d3f91cbb8ba83a258d907..6b75fcdae87bb2d2ca02fa447fc5160c845e102b 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,
@@ -164,6 +165,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);
@@ -188,6 +191,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_;
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698