#ifndef CHROME_COMMON_EXTENSIONS_API_ENTERPRISE_REPORTING_PRIVATE_H__
#define CHROME_COMMON_EXTENSIONS_API_ENTERPRISE_REPORTING_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 enterprise_reporting_private {
enum class SettingValue { … };
const char* ToString(SettingValue as_enum);
SettingValue ParseSettingValue(std::string_view as_string);
std::u16string GetSettingValueParseError(std::string_view as_string);
struct DeviceInfo { … };
enum class RealtimeUrlCheckMode { … };
const char* ToString(RealtimeUrlCheckMode as_enum);
RealtimeUrlCheckMode ParseRealtimeUrlCheckMode(std::string_view as_string);
std::u16string GetRealtimeUrlCheckModeParseError(std::string_view as_string);
enum class SafeBrowsingLevel { … };
const char* ToString(SafeBrowsingLevel as_enum);
SafeBrowsingLevel ParseSafeBrowsingLevel(std::string_view as_string);
std::u16string GetSafeBrowsingLevelParseError(std::string_view as_string);
enum class PasswordProtectionTrigger { … };
const char* ToString(PasswordProtectionTrigger as_enum);
PasswordProtectionTrigger ParsePasswordProtectionTrigger(std::string_view as_string);
std::u16string GetPasswordProtectionTriggerParseError(std::string_view as_string);
struct ContextInfo { … };
enum class CertificateStatus { … };
const char* ToString(CertificateStatus as_enum);
CertificateStatus ParseCertificateStatus(std::string_view as_string);
std::u16string GetCertificateStatusParseError(std::string_view as_string);
struct Certificate { … };
enum class EventType { … };
const char* ToString(EventType as_enum);
EventType ParseEventType(std::string_view as_string);
std::u16string GetEventTypeParseError(std::string_view as_string);
struct EnqueueRecordRequest { … };
struct UserContext { … };
enum class AntiVirusProductState { … };
const char* ToString(AntiVirusProductState as_enum);
AntiVirusProductState ParseAntiVirusProductState(std::string_view as_string);
std::u16string GetAntiVirusProductStateParseError(std::string_view as_string);
struct AntiVirusSignal { … };
struct HotfixSignal { … };
enum class PresenceValue { … };
const char* ToString(PresenceValue as_enum);
PresenceValue ParsePresenceValue(std::string_view as_string);
std::u16string GetPresenceValueParseError(std::string_view as_string);
struct GetFileSystemInfoOptions { … };
struct GetFileSystemInfoRequest { … };
struct GetFileSystemInfoResponse { … };
enum class RegistryHive { … };
const char* ToString(RegistryHive as_enum);
RegistryHive ParseRegistryHive(std::string_view as_string);
std::u16string GetRegistryHiveParseError(std::string_view as_string);
struct GetSettingsOptions { … };
struct GetSettingsRequest { … };
struct GetSettingsResponse { … };
namespace GetDeviceId {
namespace Results {
base::Value::List Create(const std::string& id);
}
}
namespace GetPersistentSecret {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<uint8_t>& secret);
}
}
namespace GetDeviceData {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<uint8_t>& data);
}
}
namespace SetDeviceData {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace GetDeviceInfo {
namespace Results {
base::Value::List Create(const DeviceInfo& device_info);
}
}
namespace GetContextInfo {
namespace Results {
base::Value::List Create(const ContextInfo& context_info);
}
}
namespace GetCertificate {
struct Params { … };
namespace Results {
base::Value::List Create(const Certificate& certificate);
}
}
namespace EnqueueRecord {
struct Params { … };
namespace Results {
base::Value::List Create();
}
}
namespace GetFileSystemInfo {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<GetFileSystemInfoResponse>& file_system_signals);
}
}
namespace GetSettings {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<GetSettingsResponse>& settings);
}
}
namespace GetAvInfo {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<AntiVirusSignal>& av_signals);
}
}
namespace GetHotfixes {
struct Params { … };
namespace Results {
base::Value::List Create(const std::vector<HotfixSignal>& hotfix_signals);
}
}
}
}
}
#endif