1 // Copyright 2011 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "net/proxy_resolution/proxy_config_service_fixed.h" 6 7 namespace net { 8 ProxyConfigServiceFixed(const ProxyConfigWithAnnotation & pc)9ProxyConfigServiceFixed::ProxyConfigServiceFixed( 10 const ProxyConfigWithAnnotation& pc) 11 : pc_(pc) {} 12 13 ProxyConfigServiceFixed::~ProxyConfigServiceFixed() = default; 14 15 ProxyConfigService::ConfigAvailability GetLatestProxyConfig(ProxyConfigWithAnnotation * config)16ProxyConfigServiceFixed::GetLatestProxyConfig( 17 ProxyConfigWithAnnotation* config) { 18 *config = pc_; 19 return CONFIG_VALID; 20 } 21 22 } // namespace net 23