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

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

Issue 2361883002: [Offline Pages] Adds classification of some prerender FinalStatus codes as canceled operations or a… (Closed)
Patch Set: Reworked per feedback Created 4 years, 3 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/request_coordinator_event_logger.cc
diff --git a/components/offline_pages/background/request_coordinator_event_logger.cc b/components/offline_pages/background/request_coordinator_event_logger.cc
index 7bafc0504a6796f3bd8a6ddc435e384bd9dc1bf4..a4934ae2c2903c7c70cf6e1c72453ce57a22f9bf 100644
--- a/components/offline_pages/background/request_coordinator_event_logger.cc
+++ b/components/offline_pages/background/request_coordinator_event_logger.cc
@@ -29,6 +29,8 @@ static std::string OfflinerRequestStatusToString(
return "FOREGROUND_CANCELED";
case Offliner::REQUEST_COORDINATOR_TIMED_OUT:
return "REQUEST_COORDINATOR_TIMED_OUT";
+ case Offliner::PRERENDERING_FAILED_NO_RETRY:
+ return "PRERENDERING_FAILED_NO_RETRY";
default:
NOTREACHED();
return std::to_string(static_cast<int>(request_status));

Powered by Google App Engine
This is Rietveld 408576698