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

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

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/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 0820146f0acba76954d98407d8d841b037faf575..33b697ad1f289c6becc89282b39b454bfdb28016 100644
--- a/components/offline_pages/core/background/request_coordinator_event_logger.cc
+++ b/components/offline_pages/core/background/request_coordinator_event_logger.cc
@@ -41,6 +41,8 @@ static std::string OfflinerRequestStatusToString(
return "QUEUE_UPDATE_FAILED";
case Offliner::BACKGROUND_SCHEDULER_CANCELED:
return "BACKGROUND_SCHEDULER_CANCELED";
+ case Offliner::SAVED_ON_LAST_RETRY:
+ return "SAVED_ON_LAST_RETRY";
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