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

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

Issue 2804543003: [Offline Pages] Remove activation time for background loading. (Closed)
Patch Set: Keep schema. Created 3 years, 8 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/core/background/request_queue_store_unittest.cc
diff --git a/components/offline_pages/core/background/request_queue_store_unittest.cc b/components/offline_pages/core/background/request_queue_store_unittest.cc
index bf78969fc927fb1441ce53379dfe45fb4161f02f..9b0009fde61351083809bd0026abf9735873c29a 100644
--- a/components/offline_pages/core/background/request_queue_store_unittest.cc
+++ b/components/offline_pages/core/background/request_queue_store_unittest.cc
@@ -428,16 +428,13 @@ TYPED_TEST(RequestQueueStoreTest, UpdateRequest) {
base::Time new_creation_time =
creation_time + base::TimeDelta::FromMinutes(1);
- base::Time activation_time = creation_time + base::TimeDelta::FromHours(6);
// Try updating an existing request.
SavePageRequest updated_request(kRequestId, kUrl, kClientId,
- new_creation_time, activation_time,
- kUserRequested);
+ new_creation_time, kUserRequested);
updated_request.set_original_url(kUrl2);
// Try to update a non-existing request.
SavePageRequest updated_request2(kRequestId2, kUrl, kClientId,
- new_creation_time, activation_time,
- kUserRequested);
+ new_creation_time, kUserRequested);
std::vector<SavePageRequest> requests_to_update{updated_request,
updated_request2};
store->UpdateRequests(

Powered by Google App Engine
This is Rietveld 408576698