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

Unified Diff: chrome/browser/download/download_request_limiter_unittest.cc

Issue 6713008: Don't destroy a request while it is being processed (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased. Created 9 years, 9 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: chrome/browser/download/download_request_limiter_unittest.cc
diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc
index e74c7eed52d129a18d74effef7dc3f07a848762f..d4422d193691e73ca503ea5ae7cefad50e923695 100644
--- a/chrome/browser/download/download_request_limiter_unittest.cc
+++ b/chrome/browser/download/download_request_limiter_unittest.cc
@@ -40,13 +40,9 @@ class DownloadRequestLimiterTest
cancel_count_++;
}
- virtual int GetRequestId() {
- return -1;
- }
-
void CanDownload() {
download_request_limiter_->CanDownloadImpl(
- controller().tab_contents(), this);
+ controller().tab_contents(), -1, this);
message_loop_.RunAllPending();
}

Powered by Google App Engine
This is Rietveld 408576698