#include "extensions/browser/requirements_checker.h"
#include <memory>
#include <string>
#include <vector>
#include "base/memory/ref_counted.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "content/public/browser/gpu_data_manager.h"
#include "extensions/browser/extension_system.h"
#include "extensions/browser/extensions_test.h"
#include "extensions/browser/preload_check.h"
#include "extensions/browser/preload_check_test_util.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
namespace extensions {
namespace {
bool MightSupportWebGL() { … }
const char kFeaturesKey[] = …;
const char kFeatureWebGL[] = …;
const char kFeatureCSS3d[] = …;
}
class RequirementsCheckerTest : public ExtensionsTest { … };
TEST_F(RequirementsCheckerTest, RequirementsEmpty) { … }
TEST_F(RequirementsCheckerTest, RequirementsSuccess) { … }
TEST_F(RequirementsCheckerTest, RequirementsFailMultiple) { … }
TEST_F(RequirementsCheckerTest, RequirementsFailWebGL) { … }
}