#include "content/browser/network/reporting_service_proxy.h"
#include <memory>
#include <string>
#include <utility>
#include "base/memory/ref_counted.h"
#include "base/unguessable_token.h"
#include "base/values.h"
#include "content/browser/service_worker/service_worker_host.h"
#include "content/browser/worker_host/dedicated_worker_host.h"
#include "content/browser/worker_host/shared_worker_host.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/storage_partition.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"
#include "net/base/network_anonymization_key.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "third_party/blink/public/mojom/reporting/reporting.mojom.h"
#include "url/gurl.h"
namespace content {
namespace {
class ReportingServiceProxyImpl : public blink::mojom::ReportingServiceProxy { … };
}
void CreateReportingServiceProxyForFrame(
RenderFrameHost* render_frame_host,
mojo::PendingReceiver<blink::mojom::ReportingServiceProxy> receiver) { … }
void CreateReportingServiceProxyForServiceWorker(
ServiceWorkerHost* service_worker_host,
mojo::PendingReceiver<blink::mojom::ReportingServiceProxy> receiver) { … }
void CreateReportingServiceProxyForSharedWorker(
SharedWorkerHost* shared_worker_host,
mojo::PendingReceiver<blink::mojom::ReportingServiceProxy> receiver) { … }
void CreateReportingServiceProxyForDedicatedWorker(
DedicatedWorkerHost* dedicated_worker_host,
mojo::PendingReceiver<blink::mojom::ReportingServiceProxy> receiver) { … }
}