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

Unified Diff: components/offline_pages/core/background/save_page_request.h

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/save_page_request.h
diff --git a/components/offline_pages/core/background/save_page_request.h b/components/offline_pages/core/background/save_page_request.h
index b1bd54e806ba352beb9bbc765cb66c78d8825a1f..52dee9556a1905a95281a801def35b7c3a874886 100644
--- a/components/offline_pages/core/background/save_page_request.h
+++ b/components/offline_pages/core/background/save_page_request.h
@@ -28,12 +28,6 @@ class SavePageRequest {
const ClientId& client_id,
const base::Time& creation_time,
const bool user_requested);
- SavePageRequest(int64_t request_id,
- const GURL& url,
- const ClientId& client_id,
- const base::Time& creation_time,
- const base::Time& activation_time,
- const bool user_requested);
SavePageRequest(const SavePageRequest& other);
~SavePageRequest();
@@ -64,8 +58,6 @@ class SavePageRequest {
const base::Time& creation_time() const { return creation_time_; }
- const base::Time& activation_time() const { return activation_time_; }
-
int64_t started_attempt_count() const { return started_attempt_count_; }
void set_started_attempt_count(int64_t started_attempt_count) {
started_attempt_count_ = started_attempt_count;
@@ -106,9 +98,6 @@ class SavePageRequest {
// Time when this request was created. (Alternative 2).
base::Time creation_time_;
- // Time when this request will become active.
- base::Time activation_time_;
-
// Number of attempts started to get the page. This may be different than the
// number of attempts completed because we could crash.
int started_attempt_count_;

Powered by Google App Engine
This is Rietveld 408576698