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

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

Issue 2438503003: [Offline pages] Add MarkAttemptAbortedTask to Request Queue (Closed)
Patch Set: Addressing feedback -- adding comments and documentation Created 4 years, 2 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 780fd4032f763ea0a87b02404aacbdd75dcda94d..8ab2385f1801e4729ad97a497100e1820784636c 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -311,6 +311,11 @@ class RequestCoordinator : public KeyedService,
void RemoveAttemptedRequest(const SavePageRequest& request,
BackgroundSavePageResult status);
+ // Completes aborting the request, reports an error if it fails.
+ void MarkAttemptAbortedDone(int64_t request_id,
+ const ClientId& client_id,
+ std::unique_ptr<UpdateRequestsResult> result);
+
// Returns the appropriate offliner to use, getting a new one from the factory
// if needed.
void GetOffliner();

Powered by Google App Engine
This is Rietveld 408576698