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

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

Issue 2548903002: [OfflinePages] Classifies PRERENDERING_FAILED cases whether to TryNext (Closed)
Patch Set: Added a PrerenderingLoader unittest 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/background/offliner.h
diff --git a/components/offline_pages/background/offliner.h b/components/offline_pages/background/offliner.h
index cafd068634dde132543e8b599ecf2bd15dd56b02..7238de9d3d3510d9565815f0439c304315b70583 100644
--- a/components/offline_pages/background/offliner.h
+++ b/components/offline_pages/background/offliner.h
@@ -44,6 +44,9 @@ class Offliner {
PRERENDERING_NOT_STARTED = 9,
// Prerendering failed with hard error so should not retry the request.
PRERENDERING_FAILED_NO_RETRY = 10,
+ // Prerendering failed with some error that suggests we should not continue
+ // processing another request at this time.
+ PRERENDERING_FAILED_NO_NEXT = 11,
// NOTE: insert new values above this line and update histogram enum too.
STATUS_COUNT
};

Powered by Google App Engine
This is Rietveld 408576698