chromium/content/browser/compute_pressure/pressure_service_for_worker.cc

// 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 "content/browser/compute_pressure/pressure_service_for_worker.h"

#include "content/browser/compute_pressure/web_contents_pressure_manager_proxy.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/worker_host/dedicated_worker_host.h"
#include "content/browser/worker_host/shared_worker_host.h"

namespace content {

template <typename WorkerHost>
bool PressureServiceForWorker<WorkerHost>::ShouldDeliverUpdate() const {}

template <typename WorkerHost>
std::optional<base::UnguessableToken>
PressureServiceForWorker<WorkerHost>::GetTokenFor(
    device::mojom::PressureSource source) const {}

template class EXPORT_TEMPLATE_DEFINE(CONTENT_EXPORT)
    PressureServiceForWorker<DedicatedWorkerHost>;
template class EXPORT_TEMPLATE_DEFINE(CONTENT_EXPORT)
    PressureServiceForWorker<SharedWorkerHost>;

}  // namespace content