chromium/out/Default/gen/chrome/common/extensions/api/web_authentication_proxy.h

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

// GENERATED FROM THE API DEFINITION IN
//   chrome/common/extensions/api/web_authentication_proxy.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#ifndef CHROME_COMMON_EXTENSIONS_API_WEB_AUTHENTICATION_PROXY_H__
#define CHROME_COMMON_EXTENSIONS_API_WEB_AUTHENTICATION_PROXY_H__

#include <stdint.h>

#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>

#include "base/values.h"

namespace extensions {
namespace api {
namespace web_authentication_proxy {

//
// Types
//

struct IsUvpaaRequest {};

struct CreateRequest {};

struct GetRequest {};

struct DOMExceptionDetails {};

struct CreateResponseDetails {};

struct GetResponseDetails {};

struct IsUvpaaResponseDetails {};


//
// Functions
//

namespace CompleteCreateRequest {

struct Params {};

namespace Results {

base::Value::List Create();
}  // namespace Results

}  // namespace CompleteCreateRequest

namespace CompleteGetRequest {

struct Params {};

namespace Results {

base::Value::List Create();
}  // namespace Results

}  // namespace CompleteGetRequest

namespace CompleteIsUvpaaRequest {

struct Params {};

namespace Results {

base::Value::List Create();
}  // namespace Results

}  // namespace CompleteIsUvpaaRequest

namespace Attach {

namespace Results {

base::Value::List Create(const std::string& error);
}  // namespace Results

}  // namespace Attach

namespace Detach {

namespace Results {

base::Value::List Create(const std::string& error);
}  // namespace Results

}  // namespace Detach

//
// Events
//

namespace OnRemoteSessionStateChange {

extern const char kEventName[];  // "webAuthenticationProxy.onRemoteSessionStateChange"

base::Value::List Create();
}  // namespace OnRemoteSessionStateChange

namespace OnCreateRequest {

extern const char kEventName[];  // "webAuthenticationProxy.onCreateRequest"

base::Value::List Create(const CreateRequest& request_info);
}  // namespace OnCreateRequest

namespace OnGetRequest {

extern const char kEventName[];  // "webAuthenticationProxy.onGetRequest"

base::Value::List Create(const GetRequest& request_info);
}  // namespace OnGetRequest

namespace OnIsUvpaaRequest {

extern const char kEventName[];  // "webAuthenticationProxy.onIsUvpaaRequest"

base::Value::List Create(const IsUvpaaRequest& request_info);
}  // namespace OnIsUvpaaRequest

namespace OnRequestCanceled {

extern const char kEventName[];  // "webAuthenticationProxy.onRequestCanceled"

base::Value::List Create(int request_id);
}  // namespace OnRequestCanceled

}  // namespace web_authentication_proxy
}  // namespace api
}  // namespace extensions

#endif  // CHROME_COMMON_EXTENSIONS_API_WEB_AUTHENTICATION_PROXY_H__