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

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

Issue 2463713003: [Offline Pages] Converts MarkAttemptCompleted to use TaskQueue (Closed)
Patch Set: Fixed some lint Created 4 years, 1 month 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_queue.h
diff --git a/components/offline_pages/background/request_queue.h b/components/offline_pages/background/request_queue.h
index 7ad0e49da4618ec9f5e853eab1bb36834c3e344b..66db71b8b5437b39d596a1e6395b90d925d4ff9c 100644
--- a/components/offline_pages/background/request_queue.h
+++ b/components/offline_pages/background/request_queue.h
@@ -103,6 +103,11 @@ class RequestQueue {
// |callback|.
void MarkAttemptAborted(int64_t request_id, const UpdateCallback& callback);
+ // Marks attempt with |request_id| as completed. The attempt may have
+ // completed with either success or failure (not denoted here). Results
+ // are returned through |callback|.
+ void MarkAttemptCompleted(int64_t request_id, const UpdateCallback& callback);
+
void GetForUpdateDone(
const RequestQueue::UpdateRequestCallback& update_callback,
const SavePageRequest& update_request,

Powered by Google App Engine
This is Rietveld 408576698