#include "components/update_client/task_update.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/sequenced_task_runner.h"
#include "components/update_client/update_client.h"
#include "components/update_client/update_engine.h"
namespace update_client {
TaskUpdate::TaskUpdate(
scoped_refptr<UpdateEngine> update_engine,
bool is_foreground,
bool is_install,
const std::vector<std::string>& ids,
UpdateClient::CrxDataCallback crx_data_callback,
UpdateClient::CrxStateChangeCallback crx_state_change_callback,
Callback callback)
: … { … }
TaskUpdate::~TaskUpdate() = default;
void TaskUpdate::Run() { … }
void TaskUpdate::Cancel() { … }
std::vector<std::string> TaskUpdate::GetIds() const { … }
void TaskUpdate::TaskComplete(Error error) { … }
void TaskUpdate::RunCallback(Error error) { … }
}