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

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

Issue 2811293004: Fix an issue that we didn't clean url request properly. (Closed)
Patch Set: Removed a DCHECK for unit test. 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_file_unittest.cc
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index 4bc430e2547808fd7a29f760dd46b037c0849382..7de9f3d1637450d8079a2b6e02ff10baed7b1bea 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -243,7 +243,7 @@ class DownloadFileTest : public testing::Test {
base::Bind(&DownloadFileTest::SetInterruptReasonCallback,
weak_ptr_factory.GetWeakPtr(), loop_runner.QuitClosure(),
&result),
- received_slices);
+ DownloadFile::CancelRequestCallback(), received_slices);
loop_runner.Run();
::testing::Mock::VerifyAndClearExpectations(input_stream_);

Powered by Google App Engine
This is Rietveld 408576698