summaryrefslogtreecommitdiffstats
path: root/net/proxy/proxy_config_service_fixed.cc
blob: 3081ea5afa1b79d7cac97ab2cbe07e783575cad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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/proxy_config_service_fixed.h"

namespace net {

ProxyConfigServiceFixed::ProxyConfigServiceFixed(const ProxyConfig& pc)
    : pc_(pc) {
}

ProxyConfigServiceFixed::~ProxyConfigServiceFixed() {}

ProxyConfigService::ConfigAvailability
    ProxyConfigServiceFixed::GetLatestProxyConfig(ProxyConfig* config) {
  *config = pc_;
  return CONFIG_VALID;
}

}  // namespace net