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

Unified Diff: content/browser/download/download_browsertest.cc

Issue 2828073002: Fix an issue that we didn't clean url request properly. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/download/download_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_browsertest.cc
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
index 38ad2db686ab49f286c0b6e78b3aedbf7695cb2b..be7caf0690fee98638ecdc568ab2766567999217 100644
--- a/content/browser/download/download_browsertest.cc
+++ b/content/browser/download/download_browsertest.cc
@@ -323,10 +323,12 @@ class CountingDownloadFile : public DownloadFileImpl {
void Initialize(
const InitializeCallback& callback,
+ const CancelRequestCallback& cancel_request_callback,
const DownloadItem::ReceivedSlices& received_slices) override {
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
active_files_++;
- DownloadFileImpl::Initialize(callback, received_slices);
+ DownloadFileImpl::Initialize(callback, cancel_request_callback,
+ received_slices);
}
static void GetNumberActiveFiles(int* result) {
« no previous file with comments | « no previous file | content/browser/download/download_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698