#include "components/offline_pages/core/background/offliner_stub.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "components/offline_pages/core/background/save_page_request.h"
namespace offline_pages {
OfflinerStub::OfflinerStub()
: … { … }
OfflinerStub::~OfflinerStub() { … }
bool OfflinerStub::LoadAndSave(const SavePageRequest& request,
CompletionCallback completion_callback,
const ProgressCallback& progress_callback) { … }
bool OfflinerStub::Cancel(CancelCallback callback) { … }
void OfflinerStub::TerminateLoadIfInProgress() { … }
bool OfflinerStub::HandleTimeout(int64_t request_id) { … }
}