#include "extensions/renderer/bindings/binding_access_checker.h"
#include "base/functional/bind.h"
#include "extensions/renderer/bindings/api_binding_test.h"
#include "gin/converter.h"
namespace extensions {
namespace {
bool APIIsAvailable(v8::Local<v8::Context> context,
const std::string& full_name) { … }
bool PromisesAvailable(v8::Local<v8::Context> context) { … }
}
BindingAccessCheckerTest;
TEST_F(BindingAccessCheckerTest, TestHasAccess) { … }
TEST_F(BindingAccessCheckerTest, TestHasAccessOrThrowError) { … }
TEST_F(BindingAccessCheckerTest, TestHasPromiseAccess) { … }
}