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

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

Issue 2697493002: [Offline pages] Implementation of OfflineBackgroundTask using background_task_scheduler (Closed)
Patch Set: Addressing more feedback Created 3 years, 10 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 c2cf768fa75c2a7f154028abd0a7a7d7bf7d4775..2c36452a9ac8ec7ce040ec01e910241355d32820 100644
--- a/components/offline_pages/core/background/offliner.h
+++ b/components/offline_pages/core/background/offliner.h
@@ -53,6 +53,8 @@ class Offliner {
// The RequestCoordinator did not start loading the request because
// updating the status in the request queue failed.
QUEUE_UPDATE_FAILED = 13,
+ // Scheduler canceled processing of requests.
+ BACKGROUND_SCHEDULER_CANCELED = 14,
// NOTE: insert new values above this line and update histogram enum too.
STATUS_COUNT
};

Powered by Google App Engine
This is Rietveld 408576698