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

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

Issue 2053163002: [Offline pages] Adding persistent request queue based on SQLite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing 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.h
diff --git a/components/offline_pages/background/save_page_request.h b/components/offline_pages/background/save_page_request.h
index 571eeae9464a0bd6335c51cce02c173c120ad519..650cb3c0ec3a28e79f37839213c696e3b7480d87 100644
--- a/components/offline_pages/background/save_page_request.h
+++ b/components/offline_pages/background/save_page_request.h
@@ -46,7 +46,7 @@ class SavePageRequest {
void MarkAttemptStarted(const base::Time& start_time);
// Marks attempt as completed and clears |last_attempt_time_|.
- void MarkAttemptCompleted();
+ void MarkAttemptCompleted(const base::Time& time);
int64_t request_id() const { return request_id_; }
@@ -59,6 +59,9 @@ class SavePageRequest {
const base::Time& activation_time() const { return activation_time_; }
int64_t attempt_count() const { return attempt_count_; }
+ void set_attempt_count(int64_t attempt_count) {
+ attempt_count_ = attempt_count;
+ }
const base::Time& last_attempt_time() const { return last_attempt_time_; }

Powered by Google App Engine
This is Rietveld 408576698