#include "content/browser/interest_group/noiser_and_bucketer.h"
#include <stdint.h>
#include "base/rand_util.h"
#include "base/time/time.h"
namespace content {
namespace {
template <typename T>
T Noise(T input, int min, int max) { … }
}
uint8_t NoiseAndBucketJoinCount(int32_t join_count) { … }
uint8_t NoiseAndBucketRecency(base::TimeDelta recency) { … }
uint16_t NoiseAndMaskModelingSignals(uint16_t modeling_signals) { … }
namespace internals {
uint8_t BucketJoinCount(int32_t join_count) { … }
uint8_t BucketRecency(base::TimeDelta recency) { … }
}
}