#include "chrome/browser/extensions/mv2_deprecation_impact_checker.h"
#include <string>
#include <vector>
#include "base/containers/contains.h"
#include "base/no_destructor.h"
#include "base/strings/string_split.h"
#include "chrome/browser/extensions/extension_management.h"
#include "chrome/browser/extensions/mv2_experiment_stage.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_features.h"
#include "extensions/common/manifest.h"
namespace extensions {
namespace {
const std::vector<std::string>& GetHashedExceptionList() { … }
}
MV2DeprecationImpactChecker::MV2DeprecationImpactChecker(
MV2ExperimentStage experiment_stage,
ExtensionManagement* extension_management)
: … { … }
MV2DeprecationImpactChecker::~MV2DeprecationImpactChecker() = default;
bool MV2DeprecationImpactChecker::IsExtensionAffected(
const Extension& extension) { … }
bool MV2DeprecationImpactChecker::IsExtensionAffected(
const ExtensionId& extension_id,
int manifest_version,
Manifest::Type manifest_type,
mojom::ManifestLocation manifest_location,
const HashedExtensionId& hashed_id) { … }
}