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

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

Issue 2053163002: [Offline pages] Adding persistent request queue based on SQLite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing code comments Created 4 years, 6 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/save_page_request_unittest.cc
diff --git a/components/offline_pages/background/save_page_request_unittest.cc b/components/offline_pages/background/save_page_request_unittest.cc
index e6d58bfb5400faf3179db25a6c48a0028c55d871..bec07f295d6a2e8e35c1a2b92d0675636cf004fb 100644
--- a/components/offline_pages/background/save_page_request_unittest.cc
+++ b/components/offline_pages/background/save_page_request_unittest.cc
@@ -90,10 +90,9 @@ TEST_F(SavePageRequestTest, StartAndCompleteRequest) {
ASSERT_EQ(creation_time, request.creation_time());
ASSERT_EQ(activation_time, request.activation_time());
- // Last attempt time and status will. Attempt count also unchanged.
+ // Last attempt time, status and attempt count are updated.
ASSERT_EQ(base::Time(), request.last_attempt_time());
ASSERT_EQ(1, request.attempt_count());
-
ASSERT_EQ(SavePageRequest::Status::PENDING, request.GetStatus(start_time));
}

Powered by Google App Engine
This is Rietveld 408576698