#include "chrome/browser/apps/platform_apps/api/media_galleries/media_galleries_api_util.h"
#include <memory>
#include "base/check.h"
#include "chrome/common/apps/platform_apps/api/media_galleries.h"
namespace chrome_apps {
namespace api {
template <typename T>
void SetValueOptional(T value, std::optional<T>& destination) { … }
template <>
void SetValueOptional(std::string value,
std::optional<std::string>& destination) { … }
base::Value::Dict SerializeMediaMetadata(
chrome::mojom::MediaMetadataPtr metadata) { … }
}
}