#include "components/services/quarantine/quarantine_impl.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "base/task/thread_pool.h"
#include "build/build_config.h"
#include "components/services/quarantine/quarantine.h"
namespace quarantine {
namespace {
void ReplyToCallback(scoped_refptr<base::TaskRunner> task_runner,
mojom::Quarantine::QuarantineFileCallback callback,
QuarantineFileResult result) { … }
}
QuarantineImpl::QuarantineImpl() = default;
QuarantineImpl::QuarantineImpl(
mojo::PendingReceiver<mojom::Quarantine> receiver)
: … { … }
QuarantineImpl::~QuarantineImpl() = default;
void QuarantineImpl::QuarantineFile(
const base::FilePath& full_path,
const GURL& source_url,
const GURL& referrer_url,
const std::string& client_guid,
mojom::Quarantine::QuarantineFileCallback callback) { … }
}