summaryrefslogtreecommitdiff
path: root/chromium/components/download/internal/background_service/entry.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/download/internal/background_service/entry.h')
-rw-r--r--chromium/components/download/internal/background_service/entry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/components/download/internal/background_service/entry.h b/chromium/components/download/internal/background_service/entry.h
index f3efe2b22ec..90bf85070a1 100644
--- a/chromium/components/download/internal/background_service/entry.h
+++ b/chromium/components/download/internal/background_service/entry.h
@@ -96,6 +96,11 @@ struct Entry {
// Stores the number of times the service tried to delete the download file.
uint32_t cleanup_attempt_count;
+ // Stores whether this request has some data to be uploaded. This is set to
+ // true only when the client has provided with the upload data and is not
+ // cleared afterwards. Retry and resumption logic are impacted by this.
+ bool has_upload_data;
+
// Traffic annotation for the network request.
net::MutableNetworkTrafficAnnotationTag traffic_annotation;
};