#include "extensions/browser/policy_check.h"
#include <string>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/memory/ref_counted.h"
#include "base/strings/utf_string_conversions.h"
#include "content/public/test/test_browser_context.h"
#include "extensions/browser/extension_system.h"
#include "extensions/browser/extensions_test.h"
#include "extensions/browser/management_policy.h"
#include "extensions/browser/mock_extension_system.h"
#include "extensions/browser/preload_check.h"
#include "extensions/browser/preload_check_test_util.h"
#include "extensions/browser/test_extensions_browser_client.h"
#include "extensions/common/constants.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_builder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
const char16_t kDummyPolicyError[] = …;
class ManagementPolicyMock : public ManagementPolicy::Provider { … };
class TestExtensionSystem : public MockExtensionSystem { … };
}
class PolicyCheckTest : public ExtensionsTest { … };
TEST_F(PolicyCheckTest, PolicySuccess) { … }
TEST_F(PolicyCheckTest, PolicyFailure) { … }
}