chromium/base/scoped_add_feature_flags.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/scoped_add_feature_flags.h"

#include <string_view>

#include "base/base_switches.h"
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/strings/strcat.h"
#include "base/strings/string_util.h"

namespace base {

ScopedAddFeatureFlags::ScopedAddFeatureFlags(CommandLine* command_line)
    :{}

ScopedAddFeatureFlags::~ScopedAddFeatureFlags() {}

void ScopedAddFeatureFlags::EnableIfNotSet(const Feature& feature) {}

void ScopedAddFeatureFlags::EnableIfNotSetWithParameter(
    const Feature& feature,
    std::string_view name,
    std::string_view value) {}

void ScopedAddFeatureFlags::DisableIfNotSet(const Feature& feature) {}

bool ScopedAddFeatureFlags::IsEnabled(const Feature& feature) {}

bool ScopedAddFeatureFlags::IsEnabledWithParameter(
    const Feature& feature,
    std::string_view parameter_name,
    std::string_view parameter_value) {}

void ScopedAddFeatureFlags::AddFeatureIfNotSet(const Feature& feature,
                                               std::string_view suffix,
                                               bool enable) {}

}  // namespace base