#include "chrome/renderer/extensions/api/identity_hooks_delegate.h"
#include "base/check.h"
#include "base/functional/bind.h"
#include "extensions/renderer/bindings/api_binding_types.h"
#include "extensions/renderer/v8_helpers.h"
namespace extensions {
namespace {
constexpr char kGetAuthToken[] = …;
v8::LocalVector<v8::Value> MassageGetAuthTokenResults(
const v8::LocalVector<v8::Value>& result_args,
v8::Local<v8::Context> context,
binding::AsyncResponseType async_type) { … }
}
RequestResult;
IdentityHooksDelegate::IdentityHooksDelegate() = default;
IdentityHooksDelegate::~IdentityHooksDelegate() = default;
RequestResult IdentityHooksDelegate::HandleRequest(
const std::string& method_name,
const APISignature* signature,
v8::Local<v8::Context> context,
v8::LocalVector<v8::Value>* arguments,
const APITypeReferenceMap& refs) { … }
}