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

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

Issue 2608553002: [OfflinePages] Improve visiblity/handling of "Loading not started" case (Closed)
Patch Set: Fixed test Created 4 years 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 834f090f661b6ad8918f6d94bebbe18d2c1b53ed..a2d30a2d5ebffd27aa40fcd6a80daa3f18e413ab 100644
--- a/components/offline_pages/core/background/request_coordinator_event_logger.cc
+++ b/components/offline_pages/core/background/request_coordinator_event_logger.cc
@@ -35,6 +35,8 @@ static std::string OfflinerRequestStatusToString(
return "LOADING_FAILED_NO_RETRY";
case Offliner::LOADING_FAILED_NO_NEXT:
return "LOADING_FAILED_NO_NEXT";
+ case Offliner::LOADING_NOT_ACCEPTED:
Pete Williamson 2017/01/03 20:22:53 Do we need a new test case? I noticed that we rem
dougarnett 2017/01/04 22:23:43 I removed CanPrerender() method and so removed tes
Pete Williamson 2017/01/04 22:31:41 I'm happy to see the test case in a follow up CL.
dougarnett 2017/01/04 23:04:58 TODO-ed
+ return "LOADING_NOT_ACCEPTED";
default:
NOTREACHED();
return std::to_string(static_cast<int>(request_status));

Powered by Google App Engine
This is Rietveld 408576698