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

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

Issue 2355163002: [Offline Pages] Breaks out new TIMED_OUT Offliner status for RequestCoordinator watchdog timeout in… (Closed)
Patch Set: 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.h
diff --git a/components/offline_pages/background/request_coordinator.h b/components/offline_pages/background/request_coordinator.h
index d130df002c45d79e744317f8c8faac2b56fba0f8..cc4420ad32a53239aa2587b5d8cf05298827d691 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -215,8 +215,12 @@ class RequestCoordinator : public KeyedService,
// processing for.
void RequestNotPicked(bool non_user_requested_tasks_remaining);
+ void HandleWatchdogTimeout();
+
+ void StopProcessingWithStatus(Offliner::RequestStatus stop_status);
+
// Cancels an in progress pre-rendering, and updates state appropriately.
- void StopPrerendering();
+ void StopPrerendering(Offliner::RequestStatus stop_status);
void SendRequestToOffliner(const SavePageRequest& request);

Powered by Google App Engine
This is Rietveld 408576698