blob: 2526d3a80839727265a5fa66fee05f3b5f1c549c [file] [log] [blame]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/scheduler_loop_quarantine_task_observer.h"
namespace content {
void SchedulerLoopQuarantineTaskObserver::WillProcessTask(
const base::PendingTask&,
bool) {
scan_policy_updater_.DisallowScanlessPurge();
}
void SchedulerLoopQuarantineTaskObserver::DidProcessTask(
const base::PendingTask&) {
scan_policy_updater_.AllowScanlessPurge();
}
} // namespace content