// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/update_client/cancellation.h" #include <utility> #include "base/functional/callback.h" #include "base/functional/callback_helpers.h" #include "base/sequence_checker.h" namespace update_client { Cancellation::Cancellation() = default; Cancellation::~Cancellation() = default; void Cancellation::Cancel() { … } bool Cancellation::IsCancelled() { … } void Cancellation::OnCancel(base::OnceClosure task) { … } void Cancellation::Clear() { … } } // namespace update_client