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

Unified Diff: content/browser/download/download_item_impl.h

Issue 2811293004: Fix an issue that we didn't clean url request properly. (Closed)
Patch Set: Fixed compiling for unit tests. Created 3 years, 8 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/download/download_item_impl.h
diff --git a/content/browser/download/download_item_impl.h b/content/browser/download/download_item_impl.h
index 9b4fe748f5efa6481daf7b55a75724fcea2e8eb1..a6dc044efb448b3e37452aed9f6460f8962d4456 100644
--- a/content/browser/download/download_item_impl.h
+++ b/content/browser/download/download_item_impl.h
@@ -233,7 +233,8 @@ class CONTENT_EXPORT DownloadItemImpl
void DestinationUpdate(
int64_t bytes_so_far,
int64_t bytes_per_sec,
- const std::vector<DownloadItem::ReceivedSlice>& received_slices) override;
+ const std::vector<DownloadItem::ReceivedSlice>& received_slices,
+ const std::unordered_set<int64_t>& stream_to_close) override;
qinmin 2017/04/14 20:04:43 I would use finished_stream_offsets instead of str
xingliu 2017/04/15 00:26:29 Done, changed to use a callback. Callback looks c
void DestinationError(
DownloadInterruptReason reason,
int64_t bytes_so_far,

Powered by Google App Engine
This is Rietveld 408576698