chromium/components/optimization_guide/core/feature_registry/mqls_feature_registry.cc

// Copyright 2024 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/optimization_guide/core/feature_registry/mqls_feature_registry.h"

#include "base/no_destructor.h"
#include "base/strings/string_util.h"
#include "components/optimization_guide/core/model_execution/feature_keys.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"

namespace optimization_guide {

MqlsFeatureMetadata::MqlsFeatureMetadata(
    std::string name,
    proto::LogAiDataRequest::FeatureCase logging_feature_case,
    EnterprisePolicyPref enterprise_policy,
    const base::Feature* field_trial_feature,
    UserFeedbackCallback get_user_feedback_callback,
    std::optional<UserVisibleFeatureKey> user_visible_feature_key)
    :{}

MqlsFeatureMetadata::~MqlsFeatureMetadata() = default;

bool MqlsFeatureMetadata::LoggingEnabledViaFieldTrial() const {}

MqlsFeatureRegistry::MqlsFeatureRegistry() = default;

MqlsFeatureRegistry::~MqlsFeatureRegistry() = default;

MqlsFeatureRegistry& MqlsFeatureRegistry::GetInstance() {}

void MqlsFeatureRegistry::Register(
    std::unique_ptr<MqlsFeatureMetadata> new_metadata) {}

const MqlsFeatureMetadata* MqlsFeatureRegistry::GetFeature(
    proto::LogAiDataRequest::FeatureCase feature_case) const {}

void MqlsFeatureRegistry::ClearForTesting() {}

}  // namespace optimization_guide