chromium/content/browser/service_worker/service_worker_identifiability_metrics.cc

// 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.

#include "content/browser/service_worker/service_worker_identifiability_metrics.h"

#include "base/containers/contains.h"
#include "content/public/browser/worker_type.h"
#include "services/metrics/public/cpp/delegating_ukm_recorder.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_sample_collector.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_study_settings.h"
#include "third_party/blink/public/common/privacy_budget/identifiability_study_worker_client_added.h"
#include "url/gurl.h"

namespace content {

ServiceWorkerIdentifiabilityMetrics::ServiceWorkerIdentifiabilityMetrics() =
    default;
ServiceWorkerIdentifiabilityMetrics::~ServiceWorkerIdentifiabilityMetrics() =
    default;

void ServiceWorkerIdentifiabilityMetrics::OnNewLiveVersion(
    const ServiceWorkerVersionInfo& version_info) {}

void ServiceWorkerIdentifiabilityMetrics::OnLiveVersionDestroyed(
    int64_t version_id) {}

void ServiceWorkerIdentifiabilityMetrics::OnClientIsExecutionReady(
    ukm::SourceId client_source_id,
    const GURL& url,
    blink::mojom::ServiceWorkerClientType type) {}

void ServiceWorkerIdentifiabilityMetrics::OnClientDestroyed(
    ukm::SourceId client_source_id,
    const GURL& url,
    blink::mojom::ServiceWorkerClientType type) {}

void ServiceWorkerIdentifiabilityMetrics::EmitClientAddedEvent(
    ukm::SourceId version_ukm_source_id,
    ukm::SourceId client_ukm_source_id) {}

}  // namespace content