#include "chrome/browser/enterprise/reporting/extension_info.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_service_test_base.h"
#include "chrome/test/base/testing_profile.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/manifest_constants.h"
ManifestLocation;
em;
namespace enterprise_reporting {
namespace {
const char kName[] = …;
const char kId[] = …;
const char kId2[] = …;
const char kVersion[] = …;
const char kDescription[] = …;
const char kHomepage[] = …;
const char kAPIPermission1[] = …;
const char kAPIPermission2[] = …;
const char kHostPermission[] = …;
const char kAPIPermissionOptional[] = …;
const char kHostPermissionOptional[] = …;
const char kAppLaunchUrl[] = …;
const int kManifestVersion = …;
}
class ExtensionInfoTest : public extensions::ExtensionServiceTestBase { … };
TEST_F(ExtensionInfoTest, ExtensionReport) { … }
TEST_F(ExtensionInfoTest, MultipleExtensions) { … }
TEST_F(ExtensionInfoTest, ExtensionDisabled) { … }
TEST_F(ExtensionInfoTest, ExtensionTerminated) { … }
TEST_F(ExtensionInfoTest, ExtensionBlocked) { … }
TEST_F(ExtensionInfoTest, ExtensionBlocklisted) { … }
TEST_F(ExtensionInfoTest, ComponentExtension) { … }
TEST_F(ExtensionInfoTest, FromWebstoreFlag) { … }
}