chromium/components/proxy_config/proxy_prefs.cc

// Copyright 2010 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/40285824): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "components/proxy_config/proxy_prefs.h"

#include "base/check.h"
#include "base/notreached.h"

namespace ProxyPrefs {

namespace {

// These names are exposed to the proxy extension API. They must be in sync
// with the constants of ProxyPrefs.
const char* kProxyModeNames[] =;

static_assert;

}  // namespace

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) {}

}  // namespace ProxyPrefs