// Copyright 2022 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_PUBLIC_BROWSER_K_ANONYMITY_SERVICE_DELEGATE_H_ #define CONTENT_PUBLIC_BROWSER_K_ANONYMITY_SERVICE_DELEGATE_H_ #include <string> #include <vector> #include "base/functional/bind.h" #include "base/time/time.h" #include "content/common/content_export.h" namespace content { // The KAnonymityServiceDelegate interface provides functions to determine if // the provided ID is k-anonymous in the sense that QuerySet only returns true // for an ID if at least k other users have called JoinSet for that ID within // an implementation defined time window. The value k is defined the by the // implementer of this interface. class CONTENT_EXPORT KAnonymityServiceDelegate { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_K_ANONYMITY_SERVICE_DELEGATE_H_