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

Unified Diff: components/offline_pages/core/background/request_coordinator_event_logger.cc

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/request_coordinator_event_logger.cc
diff --git a/components/offline_pages/core/background/request_coordinator_event_logger.cc b/components/offline_pages/core/background/request_coordinator_event_logger.cc
index a4d8edf2e7280123166ac64997592356567b33aa..0820146f0acba76954d98407d8d841b037faf575 100644
--- a/components/offline_pages/core/background/request_coordinator_event_logger.cc
+++ b/components/offline_pages/core/background/request_coordinator_event_logger.cc
@@ -39,6 +39,8 @@ static std::string OfflinerRequestStatusToString(
return "LOADING_NOT_ACCEPTED";
case Offliner::QUEUE_UPDATE_FAILED:
return "QUEUE_UPDATE_FAILED";
+ case Offliner::BACKGROUND_SCHEDULER_CANCELED:
+ return "BACKGROUND_SCHEDULER_CANCELED";
default:
NOTREACHED();
return std::to_string(static_cast<int>(request_status));
« no previous file with comments | « components/offline_pages/core/background/request_coordinator.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698