#include "components/segmentation_platform/embedder/default_model/password_manager_user_segment.h"
#include <cstdint>
#include <memory>
#include "base/task/sequenced_task_runner.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/config.h"
#include "components/segmentation_platform/public/constants.h"
#include "components/segmentation_platform/public/features.h"
#include "components/segmentation_platform/public/proto/aggregation.pb.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"
namespace segmentation_platform {
namespace {
SegmentId;
constexpr SegmentId kPasswordManagerUserSegmentId = …;
constexpr int64_t kPasswordManagerUserSignalStorageLength = …;
constexpr int64_t kPasswordManagerUserMinSignalCollectionLength = …;
constexpr int64_t kPasswordManagerUserResultTTLDays = …;
constexpr int64_t kStoredPasswordCountThreshold = …;
constexpr std::array<int32_t, 1> kPasswordManagerReferrerEnumValues{ … };
constexpr std::array<float, 1> kPasswordCountDefaultValue{ … };
constexpr std::array<int32_t, 3> kFillingAssistanceEnumValues{ … };
constexpr std::array<int32_t, 1> kSavedPasswordTypeEnumValues{ … };
constexpr std::array<int32_t, 1> kSaveUiPositiveEnumValues{ … };
constexpr std::array<int32_t, 3> kSaveUiNegativeEnumValues{ … };
constexpr std::array<int32_t, 1> kIOSCredentialExtensionEnabledValue{ … };
const char kPasswordManagerUserNegativeLabel[] = …;
constexpr std::array<MetadataWriter::UMAFeature, 7>
kPasswordManagerUserUMAFeatures = …;
}
std::unique_ptr<Config> PasswordManagerUserModel::GetConfig() { … }
PasswordManagerUserModel::PasswordManagerUserModel()
: … { … }
std::unique_ptr<DefaultModelProvider::ModelConfig>
PasswordManagerUserModel::GetModelConfig() { … }
void PasswordManagerUserModel::ExecuteModelWithInput(
const ModelProvider::Request& inputs,
ExecutionCallback callback) { … }
}