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

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

Issue 2463713003: [Offline Pages] Converts MarkAttemptCompleted to use TaskQueue (Closed)
Patch Set: Ternary nit and format fix 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_coordinator.h
diff --git a/components/offline_pages/background/request_coordinator.h b/components/offline_pages/background/request_coordinator.h
index 263128f7edded1671f78c11e0b2cd76e7eb5b9f4..a39411d29826b9b41cd7decd42b74a46df18f5b7 100644
--- a/components/offline_pages/background/request_coordinator.h
+++ b/components/offline_pages/background/request_coordinator.h
@@ -7,6 +7,7 @@
#include <memory>
#include <set>
+#include <string>
#include <vector>
#include "base/callback.h"
@@ -241,9 +242,11 @@ class RequestCoordinator : public KeyedService,
void AddRequestResultCallback(RequestQueue::AddRequestResult result,
const SavePageRequest& request);
- // Receives the result of update and delete requests to the request queue.
- void UpdateRequestCallback(const ClientId& client_id,
- RequestQueue::UpdateRequestResult result);
+ // Receives the result of mark attempt completed requests.
+ void MarkAttemptCompletedDoneCallback(
+ int64_t request_id,
+ const ClientId& client_id,
+ std::unique_ptr<UpdateRequestsResult> result);
void UpdateMultipleRequestsCallback(
std::unique_ptr<UpdateRequestsResult> result);

Powered by Google App Engine
This is Rietveld 408576698