#include "base/test/scoped_feature_list.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/extension_features.h"
#include "extensions/common/features/feature_developer_mode_only.h"
#include "extensions/common/mojom/context_type.mojom.h"
#include "extensions/renderer/bindings/api_binding_test_util.h"
#include "extensions/renderer/dispatcher.h"
#include "extensions/renderer/native_extension_bindings_system.h"
#include "extensions/renderer/native_extension_bindings_system_test_base.h"
#include "extensions/renderer/script_context.h"
namespace extensions {
namespace {
constexpr char kCallUserScriptsRegister[] = …;
}
TEST_F(NativeExtensionBindingsSystemUnittest, InitializeContext) { … }
TEST_F(NativeExtensionBindingsSystemUnittest,
RestrictDeveloperModeAPIsUserIsInDeveloperMode) { … }
TEST_F(NativeExtensionBindingsSystemUnittest,
RestrictDeveloperModeAPIsUserIsNotInDeveloperModeAndHasPermission) { … }
TEST_F(
NativeExtensionBindingsSystemUnittest,
RestrictDeveloperModeAPIsUserIsNotInDeveloperModeAndDoesNotHavePermission) { … }
}