#ifndef EXTENSIONS_COMMON_API_FEEDBACK_PRIVATE_H__
#define EXTENSIONS_COMMON_API_FEEDBACK_PRIVATE_H__
#include <stdint.h>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/values.h"
#include <string_view>
namespace extensions {
namespace api {
namespace feedback_private {
struct AttachedFile { … };
struct LogsMapEntry { … };
enum class FeedbackFlow { … };
const char* ToString(FeedbackFlow as_enum);
FeedbackFlow ParseFeedbackFlow(std::string_view as_string);
std::u16string GetFeedbackFlowParseError(std::string_view as_string);
struct FeedbackInfo { … };
enum class Status { … };
const char* ToString(Status as_enum);
Status ParseStatus(std::string_view as_string);
std::u16string GetStatusParseError(std::string_view as_string);
enum class LandingPageType { … };
const char* ToString(LandingPageType as_enum);
LandingPageType ParseLandingPageType(std::string_view as_string);
std::u16string GetLandingPageTypeParseError(std::string_view as_string);
struct SendFeedbackResult { … };
enum class LogSource { … };
const char* ToString(LogSource as_enum);
LogSource ParseLogSource(std::string_view as_string);
std::u16string GetLogSourceParseError(std::string_view as_string);
enum class FeedbackSource { … };
const char* ToString(FeedbackSource as_enum);
FeedbackSource ParseFeedbackSource(std::string_view as_string);
std::u16string GetFeedbackSourceParseError(std::string_view as_string);
struct ReadLogSourceParams { … };
struct ReadLogSourceResult { … };
namespace GetUserEmail {
namespace Results {
base::Value::List Create(const std::string& email);
}
}
namespace GetSystemInformation {
namespace Results {
base::Value::List Create(const std::vector<LogsMapEntry>& system_information);
}
}
namespace OpenFeedback {
struct Params { … };
}
namespace SendFeedback {
struct Params { … };
namespace Results {
base::Value::List Create(const SendFeedbackResult& result);
}
}
namespace ReadLogSource {
struct Params { … };
namespace Results {
base::Value::List Create(const ReadLogSourceResult& result);
}
}
namespace OnFeedbackRequested {
extern const char kEventName[];
base::Value::List Create(const FeedbackInfo& feedback);
}
}
}
}
#endif