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

#ifndef CHROME_COMMON_EXTENSIONS_API_MANIFEST_TYPES_H__
#define CHROME_COMMON_EXTENSIONS_API_MANIFEST_TYPES_H__

#include <stdint.h>

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

#include "base/values.h"
#include <string_view>
#include "base/types/expected.h"


namespace extensions {
namespace api {
namespace manifest_types {

//
// Types
//

// Chrome settings which can be overriden by an extension.
struct ChromeSettingsOverrides {};

// For <code>"file"</code> the source is a file passed via
// <code>onLaunched</code> event. For <code>"device"</code> contents are fetched
// from an external device (eg. plugged via USB), without using
// <code>file_handlers</code>. Finally, for <code>"network"</code> source,
// contents should be fetched via network.
enum class FileSystemProviderSource {};


const char* ToString(FileSystemProviderSource as_enum);
FileSystemProviderSource ParseFileSystemProviderSource(std::string_view as_string);
std::u16string GetFileSystemProviderSourceParseError(std::string_view as_string);

// Represents capabilities of a providing extension.
struct FileSystemProviderCapabilities {};


}  // namespace manifest_types
}  // namespace api
}  // namespace extensions

#endif  // CHROME_COMMON_EXTENSIONS_API_MANIFEST_TYPES_H__