#ifndef CHROME_COMMON_APPS_PLATFORM_APPS_API_MEDIA_GALLERIES_H__
#define CHROME_COMMON_APPS_PLATFORM_APPS_API_MEDIA_GALLERIES_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace chrome_apps {
namespace api {
namespace media_galleries {
enum class GalleryChangeType { … };
const char* ToString(GalleryChangeType as_enum);
GalleryChangeType ParseGalleryChangeType(std::string_view as_string);
std::u16string GetGalleryChangeTypeParseError(std::string_view as_string);
enum class GetMediaFileSystemsInteractivity { … };
const char* ToString(GetMediaFileSystemsInteractivity as_enum);
GetMediaFileSystemsInteractivity ParseGetMediaFileSystemsInteractivity(std::string_view as_string);
std::u16string GetGetMediaFileSystemsInteractivityParseError(std::string_view as_string);
enum class GetMetadataType { … };
const char* ToString(GetMetadataType as_enum);
GetMetadataType ParseGetMetadataType(std::string_view as_string);
std::u16string GetGetMetadataTypeParseError(std::string_view as_string);
struct GalleryChangeDetails { … };
struct MediaFileSystemsDetails { … };
struct MediaMetadataOptions { … };
struct MediaFileSystemMetadata { … };
struct StreamInfo { … };
struct MediaMetadata { … };
struct AddGalleryWatchResult { … };
namespace GetMediaFileSystems {
struct Params { … };
namespace Results {
struct MediaFileSystemsType { … };
base::Value::List Create(const std::vector<MediaFileSystemsType>& media_file_systems);
}
}
namespace AddUserSelectedFolder {
namespace Results {
struct MediaFileSystemsType { … };
base::Value::List Create(const std::vector<MediaFileSystemsType>& media_file_systems, const std::string& selected_file_system_name);
}
}
namespace GetMetadata {
struct Params { … };
namespace Results {
base::Value::List Create(const MediaMetadata& metadata);
}
}
namespace AddGalleryWatch {
struct Params { … };
namespace Results {
base::Value::List Create(const AddGalleryWatchResult& result);
}
}
namespace RemoveGalleryWatch {
struct Params { … };
}
namespace OnGalleryChanged {
extern const char kEventName[];
base::Value::List Create(const GalleryChangeDetails& details);
}
}
}
}
#endif