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

Unified Diff: components/offline_pages/background/request_coordinator_unittest.cc

Issue 2355163002: [Offline Pages] Breaks out new TIMED_OUT Offliner status for RequestCoordinator watchdog timeout in… (Closed)
Patch Set: Created 4 years, 3 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: components/offline_pages/background/request_coordinator_unittest.cc
diff --git a/components/offline_pages/background/request_coordinator_unittest.cc b/components/offline_pages/background/request_coordinator_unittest.cc
index 1b469fd84cd2091b005807a1138a77aa2db82128..01c53b968657cf251cd72678d098edf721934d77 100644
--- a/components/offline_pages/background/request_coordinator_unittest.cc
+++ b/components/offline_pages/background/request_coordinator_unittest.cc
@@ -825,7 +825,7 @@ TEST_F(RequestCoordinatorTest, WatchdogTimeout) {
EXPECT_FALSE(is_starting());
EXPECT_TRUE(OfflinerWasCanceled());
- EXPECT_EQ(Offliner::RequestStatus::REQUEST_COORDINATOR_CANCELED,
+ EXPECT_EQ(Offliner::RequestStatus::REQUEST_COORDINATOR_TIMED_OUT,
last_offlining_status());
}

Powered by Google App Engine
This is Rietveld 408576698