chromium/out/Default/gen/extensions/common/api/test.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
//   extensions/common/api/test.json
// by tools/json_schema_compiler.
// DO NOT EDIT.

#ifndef EXTENSIONS_COMMON_API_TEST_H__
#define EXTENSIONS_COMMON_API_TEST_H__

#include <stdint.h>

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

#include "base/values.h"

namespace extensions {
namespace api {
namespace test {

//
// Functions
//

namespace GetConfig {

namespace Results {

struct TestConfig {};


base::Value::List Create(const TestConfig& test_config);
}  // namespace Results

}  // namespace GetConfig

namespace NotifyFail {

struct Params {};

}  // namespace NotifyFail

namespace NotifyPass {

struct Params {};

}  // namespace NotifyPass

namespace Log {

struct Params {};

}  // namespace Log

namespace OpenFileUrl {

struct Params {};

}  // namespace OpenFileUrl

namespace PassMessage {

struct Params {};

namespace Results {

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

}  // namespace PassMessage

namespace SendScriptResult {

struct Params {};

namespace Results {

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

}  // namespace SendScriptResult

namespace WaitForRoundTrip {

struct Params {};

namespace Results {

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

}  // namespace WaitForRoundTrip

//
// Events
//

namespace OnMessage {

extern const char kEventName[];  // "test.onMessage"

struct Info {};


base::Value::List Create(const Info& info);
}  // namespace OnMessage

}  // namespace test
}  // namespace api
}  // namespace extensions

#endif  // EXTENSIONS_COMMON_API_TEST_H__