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

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

Issue 2818783002: [Offline pages]: Implement background loader to save on last retry, and record last retry success U… (Closed)
Patch Set: Resolving code review comments 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/offliner.h
diff --git a/components/offline_pages/core/background/offliner.h b/components/offline_pages/core/background/offliner.h
index 2f1512899771bdd9255b04c2a535bbf9a3676416..d8f447b928836b888667aba5c09dd3c1532df80d 100644
--- a/components/offline_pages/core/background/offliner.h
+++ b/components/offline_pages/core/background/offliner.h
@@ -55,6 +55,8 @@ class Offliner {
QUEUE_UPDATE_FAILED = 13,
// Scheduler canceled processing of requests.
BACKGROUND_SCHEDULER_CANCELED = 14,
+ // We saved a snapshot on the last retry, after timeout.
+ SAVED_ON_LAST_RETRY = 15,
// NOTE: insert new values above this line and update histogram enum too.
STATUS_COUNT
};

Powered by Google App Engine
This is Rietveld 408576698