chromium/extensions/renderer/bindings/api_binding_hooks_test_delegate.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/api_binding_hooks_test_delegate.h"

#include <string_view>

namespace extensions {

APIBindingHooksTestDelegate::APIBindingHooksTestDelegate() = default;
APIBindingHooksTestDelegate::~APIBindingHooksTestDelegate() = default;

bool APIBindingHooksTestDelegate::CreateCustomEvent(
    v8::Local<v8::Context> context,
    const std::string& event_name,
    v8::Local<v8::Value>* event_out) {}

void APIBindingHooksTestDelegate::AddHandler(std::string_view name,
                                             RequestHandler handler) {}

void APIBindingHooksTestDelegate::SetCustomEvent(
    CustomEventFactory custom_event) {}

void APIBindingHooksTestDelegate::SetTemplateInitializer(
    TemplateInitializer initializer) {}

void APIBindingHooksTestDelegate::SetInstanceInitializer(
    InstanceInitializer initializer) {}

APIBindingHooks::RequestResult APIBindingHooksTestDelegate::HandleRequest(
    const std::string& method_name,
    const APISignature* signature,
    v8::Local<v8::Context> context,
    v8::LocalVector<v8::Value>* arguments,
    const APITypeReferenceMap& refs) {}

void APIBindingHooksTestDelegate::InitializeTemplate(
    v8::Isolate* isolate,
    v8::Local<v8::ObjectTemplate> object_template,
    const APITypeReferenceMap& type_refs) {}

void APIBindingHooksTestDelegate::InitializeInstance(
    v8::Local<v8::Context> context,
    v8::Local<v8::Object> instance) {}

}  // namespace extensions