#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/proxy_config/proxy_prefs.h"
#include "base/check.h"
#include "base/notreached.h"
namespace ProxyPrefs {
namespace {
const char* kProxyModeNames[] = …;
static_assert …;
}
const char kDirectProxyModeName[] = …;
const char kAutoDetectProxyModeName[] = …;
const char kPacScriptProxyModeName[] = …;
const char kFixedServersProxyModeName[] = …;
const char kSystemProxyModeName[] = …;
bool IntToProxyMode(int in_value, ProxyMode* out_value) { … }
bool StringToProxyMode(const std::string& in_value, ProxyMode* out_value) { … }
const char* ProxyModeToString(ProxyMode mode) { … }
std::string ConfigStateToDebugString(ConfigState state) { … }
}