#include "content/browser/private_aggregation/private_aggregation_budget_key.h"
#include <optional>
#include "base/check.h"
#include "base/time/time.h"
#include "services/network/public/cpp/is_potentially_trustworthy.h"
#include "url/origin.h"
namespace content {
namespace {
base::Time FloorToDuration(base::Time time) { … }
}
PrivateAggregationBudgetKey::TimeWindow::TimeWindow(base::Time start_time)
: … { … }
PrivateAggregationBudgetKey::PrivateAggregationBudgetKey(
url::Origin origin,
base::Time api_invocation_time,
Api api)
: … { … }
std::optional<PrivateAggregationBudgetKey> PrivateAggregationBudgetKey::Create(
url::Origin origin,
base::Time api_invocation_time,
Api api) { … }
PrivateAggregationBudgetKey PrivateAggregationBudgetKey::CreateForTesting(
url::Origin origin,
base::Time api_invocation_time,
Api api) { … }
}