chromium/extensions/renderer/bindings/binding_access_checker.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "extensions/renderer/bindings/binding_access_checker.h"

#include "base/strings/stringprintf.h"
#include "gin/converter.h"

namespace extensions {

BindingAccessChecker::BindingAccessChecker(
    APIAvailabilityCallback api_available,
    PromiseAvailabilityCallback promises_available)
    :{}
BindingAccessChecker::~BindingAccessChecker() = default;

// TODO(tjudkins): Now that this also handles some promise checking, these two
// methods and the class should probably be renamed.
bool BindingAccessChecker::HasAccess(v8::Local<v8::Context> context,
                                     const std::string& full_name) const {}

bool BindingAccessChecker::HasAccessOrThrowError(
    v8::Local<v8::Context> context,
    const std::string& full_name) const {}

bool BindingAccessChecker::HasPromiseAccess(
    v8::Local<v8::Context> context) const {}

}  // namespace extensions