#include "chrome/common/extensions/webstore_override.h"
#include <array>
#include <string>
#include <string_view>
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/containers/span.h"
#include "base/no_destructor.h"
#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_switches.h"
#include "extensions/common/context_data.h"
#include "extensions/common/extension.h"
#include "extensions/common/features/feature.h"
#include "extensions/common/mojom/context_type.mojom.h"
#include "url/gurl.h"
#include "url/origin.h"
namespace {
constexpr static std::array<std::string_view, 2> kWebstoreOverrideFeatureList = …;
bool AreWebstoreFeaturesAvailable(const std::string& api_full_name,
const extensions::Extension* extension,
extensions::mojom::ContextType context,
const GURL& url,
extensions::Feature::Platform platform,
int context_id,
bool check_developer_mode,
const extensions::ContextData& context_data) { … }
}
namespace extensions::webstore_override {
Feature::FeatureDelegatedAvailabilityCheckMap CreateAvailabilityCheckMap() { … }
}