chromium/content/browser/service_worker/service_worker_identifiability_metrics.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_IDENTIFIABILITY_METRICS_H_
#define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_IDENTIFIABILITY_METRICS_H_

#include <stdint.h>

#include <map>
#include <set>

#include "content/browser/service_worker/service_worker_context_core_observer.h"
#include "content/browser/service_worker/service_worker_info.h"
#include "services/metrics/public/cpp/ukm_source_id.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_client.mojom.h"

namespace content {

struct VersionIdentifiabilityInfo {};

// Used to emit a UKM event to associate each worker with each client that it
// has the potential to communicate with (whether or not they actually do). Only
// created when the identifiability study is active.
class ServiceWorkerIdentifiabilityMetrics
    : public ServiceWorkerContextCoreObserver {};

}  // namespace content

#endif  // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_IDENTIFIABILITY_METRICS_H_