chromium/components/permissions/prediction_service/prediction_common.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 "components/permissions/prediction_service/prediction_common.h"

#include <cmath>
#include "base/notreached.h"
#include "base/values.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"

namespace permissions {

float GetRoundedRatio(int numerator, int denominator) {}

int GetRoundedRatioForUkm(int numerator, int denominator) {}

int BucketizeValue(int count) {}

ClientFeatures_Platform GetCurrentPlatformProto() {}

ClientFeatures_PlatformEnum GetCurrentPlatformEnumProto() {}

ClientFeatures_Gesture ConvertToProtoGesture(
    const permissions::PermissionRequestGestureType type) {}

ClientFeatures_GestureEnum ConvertToProtoGestureEnum(
    const permissions::PermissionRequestGestureType type) {}

void FillInStatsFeatures(const PredictionRequestFeatures::ActionCounts& counts,
                         StatsFeatures* features) {}

std::unique_ptr<GeneratePredictionsRequest> GetPredictionRequestProto(
    const PredictionRequestFeatures& entity) {}

}  // namespace permissions