#include "components/offline_pages/core/background/pending_state_updater.h"
#include "base/functional/bind.h"
#include "components/offline_items_collection/core/pending_state.h"
#include "components/offline_pages/core/background/request_coordinator.h"
namespace offline_pages {
PendingStateUpdater::PendingStateUpdater(
RequestCoordinator* request_coordinator)
: … { … }
PendingStateUpdater::~PendingStateUpdater() { … }
void PendingStateUpdater::UpdateRequestsOnLossOfNetwork() { … }
void PendingStateUpdater::UpdateRequestsOnRequestPicked(
const int64_t picked_request_id,
std::unique_ptr<std::vector<SavePageRequest>> available_requests) { … }
void PendingStateUpdater::SetPendingState(SavePageRequest& request) { … }
void PendingStateUpdater::NotifyChangedPendingStates(
std::vector<std::unique_ptr<SavePageRequest>> requests) { … }
}