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

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

Issue 2608553002: [OfflinePages] Improve visiblity/handling of "Loading not started" case (Closed)
Patch Set: Fixed test Created 4 years 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/core/background/request_coordinator_unittest.cc
diff --git a/components/offline_pages/core/background/request_coordinator_unittest.cc b/components/offline_pages/core/background/request_coordinator_unittest.cc
index 1114bf69790c30efd8d7442c9bb8dfb22737583e..5df0b712d0e8a9fcd06fca047b646a41ccefe10d 100644
--- a/components/offline_pages/core/background/request_coordinator_unittest.cc
+++ b/components/offline_pages/core/background/request_coordinator_unittest.cc
@@ -909,7 +909,7 @@ TEST_F(RequestCoordinatorTest, StartScheduledProcessingWithLoadingDisabled) {
EXPECT_TRUE(processing_callback_called());
EXPECT_FALSE(is_starting());
- EXPECT_EQ(Offliner::LOADING_NOT_STARTED, last_offlining_status());
+ EXPECT_EQ(Offliner::LOADING_NOT_ACCEPTED, last_offlining_status());
}
// This tests a StopProcessing call before we have actually started the

Powered by Google App Engine
This is Rietveld 408576698