blob: 9c1a4116726d5267823c7f5052b13e35a9bb63f4 [file] [log] [blame]
Avi Drissman64595482022-09-14 20:52:291// Copyright 2011 The Chromium Authors
[email protected]1e605472010-12-16 21:41:402// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Lily Houghton582d4622018-01-22 22:43:405#include "net/proxy_resolution/proxy_config_service_fixed.h"
[email protected]1e605472010-12-16 21:41:406
7namespace net {
8
Ramin Halavatica8d5252018-03-12 05:33:499ProxyConfigServiceFixed::ProxyConfigServiceFixed(
10 const ProxyConfigWithAnnotation& pc)
11 : pc_(pc) {}
[email protected]1e605472010-12-16 21:41:4012
Chris Watkins3a13f632017-12-04 00:41:1513ProxyConfigServiceFixed::~ProxyConfigServiceFixed() = default;
[email protected]1e605472010-12-16 21:41:4014
[email protected]3a29593d2011-04-11 10:07:5215ProxyConfigService::ConfigAvailability
Ramin Halavatica8d5252018-03-12 05:33:4916ProxyConfigServiceFixed::GetLatestProxyConfig(
17 ProxyConfigWithAnnotation* config) {
[email protected]1e605472010-12-16 21:41:4018 *config = pc_;
[email protected]3a29593d2011-04-11 10:07:5219 return CONFIG_VALID;
[email protected]1e605472010-12-16 21:41:4020}
21
22} // namespace net