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

Unified Diff: content/browser/download/download_destination_observer.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_destination_observer.h
diff --git a/content/browser/download/download_destination_observer.h b/content/browser/download/download_destination_observer.h
index 7fb6297b63b5efc9a7ad1c9d18d9d9fff27f190b..5ffee01ac5b7d60c52a8fb197c1e6df2f1b89a60 100644
--- a/content/browser/download/download_destination_observer.h
+++ b/content/browser/download/download_destination_observer.h
@@ -9,6 +9,7 @@
#include <memory>
#include <string>
+#include <unordered_set>
#include "content/public/browser/download_interrupt_reasons.h"
#include "content/public/browser/download_item.h"
@@ -31,7 +32,8 @@ class DownloadDestinationObserver {
virtual void DestinationUpdate(
int64_t bytes_so_far,
int64_t bytes_per_sec,
- const std::vector<DownloadItem::ReceivedSlice>& received_slices) = 0;
+ const std::vector<DownloadItem::ReceivedSlice>& received_slices,
+ const std::unordered_set<int64_t>& stream_to_close) = 0;
virtual void DestinationError(
DownloadInterruptReason reason,
« no previous file with comments | « no previous file | content/browser/download/download_file_impl.h » ('j') | content/browser/download/download_file_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698