#ifndef CHROME_COMMON_EXTENSIONS_API_SETTINGS_PRIVATE_H__
#define CHROME_COMMON_EXTENSIONS_API_SETTINGS_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 settings_private {
enum class PrefType { … };
const char* ToString(PrefType as_enum);
PrefType ParsePrefType(std::string_view as_string);
std::u16string GetPrefTypeParseError(std::string_view as_string);
enum class ControlledBy { … };
const char* ToString(ControlledBy as_enum);
ControlledBy ParseControlledBy(std::string_view as_string);
std::u16string GetControlledByParseError(std::string_view as_string);
enum class Enforcement { … };
const char* ToString(Enforcement as_enum);
Enforcement ParseEnforcement(std::string_view as_string);
std::u16string GetEnforcementParseError(std::string_view as_string);
struct PrefObject { … };
namespace SetPref {
struct Params { … };
namespace Results {
base::Value::List Create(bool success);
}
}
namespace GetAllPrefs {
namespace Results {
base::Value::List Create(const std::vector<PrefObject>& prefs);
}
}
namespace GetPref {
struct Params { … };
namespace Results {
base::Value::List Create(const PrefObject& pref);
}
}
namespace GetDefaultZoom {
namespace Results {
base::Value::List Create(double zoom);
}
}
namespace SetDefaultZoom {
struct Params { … };
namespace Results {
base::Value::List Create(bool success);
}
}
namespace OnPrefsChanged {
extern const char kEventName[];
base::Value::List Create(const std::vector<PrefObject>& prefs);
}
}
}
}
#endif