mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 08:16:09 +03:00
23 lines
612 B
C++
23 lines
612 B
C++
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "net/proxy_resolution/proxy_config_service_fixed.h"
|
|
|
|
namespace net {
|
|
|
|
ProxyConfigServiceFixed::ProxyConfigServiceFixed(
|
|
const ProxyConfigWithAnnotation& pc)
|
|
: pc_(pc) {}
|
|
|
|
ProxyConfigServiceFixed::~ProxyConfigServiceFixed() = default;
|
|
|
|
ProxyConfigService::ConfigAvailability
|
|
ProxyConfigServiceFixed::GetLatestProxyConfig(
|
|
ProxyConfigWithAnnotation* config) {
|
|
*config = pc_;
|
|
return CONFIG_VALID;
|
|
}
|
|
|
|
} // namespace net
|