• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
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/proxy_config_service_fixed.h"
6 
7 namespace net {
8 
ProxyConfigServiceFixed(const ProxyConfig & pc)9 ProxyConfigServiceFixed::ProxyConfigServiceFixed(const ProxyConfig& pc)
10     : pc_(pc) {
11 }
12 
~ProxyConfigServiceFixed()13 ProxyConfigServiceFixed::~ProxyConfigServiceFixed() {}
14 
15 ProxyConfigService::ConfigAvailability
GetLatestProxyConfig(ProxyConfig * config)16     ProxyConfigServiceFixed::GetLatestProxyConfig(ProxyConfig* config) {
17   *config = pc_;
18   return CONFIG_VALID;
19 }
20 
21 }  // namespace net
22