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

Unified Diff: components/offline_pages/core/background/pick_request_task.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
« no previous file with comments | « no previous file | components/offline_pages/core/background/request_queue_store_sql.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/core/background/pick_request_task.cc
diff --git a/components/offline_pages/core/background/pick_request_task.cc b/components/offline_pages/core/background/pick_request_task.cc
index 1064987dc23087ada66b7161eb1e73353a1377fc..d2faeac9cb1ed3bb715574d8f480ea7729de0c0d 100644
--- a/components/offline_pages/core/background/pick_request_task.cc
+++ b/components/offline_pages/core/background/pick_request_task.cc
@@ -196,11 +196,6 @@ bool PickRequestTask::RequestConditionsSatisfied(
if (request->request_state() == SavePageRequest::RequestState::PAUSED)
return false;
- // If this request is not active yet, return false.
- // TODO(petewil): Remove the concept of activation time. crbug.com/705103.
- if (request->activation_time() > base::Time::Now())
- return false;
-
return true;
}
« no previous file with comments | « no previous file | components/offline_pages/core/background/request_queue_store_sql.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698