blob: 2c52b600aeb68af80ce66072701f8a88b41e0ed6 [file] [log] [blame]
// 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_delegate.h"
namespace extensions {
APIBindingHooksDelegate::~APIBindingHooksDelegate() = default;
bool APIBindingHooksDelegate::CreateCustomEvent(
v8::Local<v8::Context> context,
const std::string& event_name,
v8::Local<v8::Value>* event_out) {
return false;
}
APIBindingHooks::RequestResult APIBindingHooksDelegate::HandleRequest(
const std::string& method_name,
const APISignature* signature,
v8::Local<v8::Context> context,
v8::LocalVector<v8::Value>* arguments,
const APITypeReferenceMap& refs) {
return APIBindingHooks::RequestResult(
APIBindingHooks::RequestResult::NOT_HANDLED);
}
} // namespace extensions