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

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

Issue 1444253003: Use If-Range instead of If-Match/If-Unmodified-Since for partial requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make it obvious that the interrupt reason is obsolete. Created 5 years, 1 month 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_item_model_unittest.cc
diff --git a/chrome/browser/download/download_item_model_unittest.cc b/chrome/browser/download/download_item_model_unittest.cc
index 7fdd1282e990802875e25a78710758523db58d44..7c634976541b2c3bcc549738933fc6510a4a2ec8 100644
--- a/chrome/browser/download/download_item_model_unittest.cc
+++ b/chrome/browser/download/download_item_model_unittest.cc
@@ -156,8 +156,6 @@ TEST_F(DownloadItemModelTest, InterruptedStatus) {
"Failed - Server problem" },
{ content::DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE,
"Failed - Download error" },
- { content::DOWNLOAD_INTERRUPT_REASON_SERVER_PRECONDITION,
- "Failed - Download error" },
{ content::DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT,
"Failed - No file" },
{ content::DOWNLOAD_INTERRUPT_REASON_SERVER_UNAUTHORIZED,
@@ -234,8 +232,6 @@ TEST_F(DownloadItemModelTest, InterruptTooltip) {
"foo.bar\nServer problem" },
{ content::DOWNLOAD_INTERRUPT_REASON_SERVER_NO_RANGE,
"foo.bar\nDownload error" },
- { content::DOWNLOAD_INTERRUPT_REASON_SERVER_PRECONDITION,
- "foo.bar\nDownload error" },
{ content::DOWNLOAD_INTERRUPT_REASON_SERVER_BAD_CONTENT,
"foo.bar\nNo file" },
{ content::DOWNLOAD_INTERRUPT_REASON_SERVER_UNAUTHORIZED,

Powered by Google App Engine
This is Rietveld 408576698