Avi Drissman | 6459548 | 2022-09-14 20:52:29 | [diff] [blame^] | 1 | // Copyright 2011 The Chromium Authors |
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
Lily Houghton | 582d462 | 2018-01-22 22:43:40 | [diff] [blame] | 5 | #include "net/proxy_resolution/proxy_config_service_fixed.h" |
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 6 | |
7 | namespace net { | ||||
8 | |||||
Ramin Halavati | ca8d525 | 2018-03-12 05:33:49 | [diff] [blame] | 9 | ProxyConfigServiceFixed::ProxyConfigServiceFixed( |
10 | const ProxyConfigWithAnnotation& pc) | ||||
11 | : pc_(pc) {} | ||||
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 12 | |
Chris Watkins | 3a13f63 | 2017-12-04 00:41:15 | [diff] [blame] | 13 | ProxyConfigServiceFixed::~ProxyConfigServiceFixed() = default; |
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 14 | |
[email protected] | 3a29593d | 2011-04-11 10:07:52 | [diff] [blame] | 15 | ProxyConfigService::ConfigAvailability |
Ramin Halavati | ca8d525 | 2018-03-12 05:33:49 | [diff] [blame] | 16 | ProxyConfigServiceFixed::GetLatestProxyConfig( |
17 | ProxyConfigWithAnnotation* config) { | ||||
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 18 | *config = pc_; |
[email protected] | 3a29593d | 2011-04-11 10:07:52 | [diff] [blame] | 19 | return CONFIG_VALID; |
[email protected] | 1e60547 | 2010-12-16 21:41:40 | [diff] [blame] | 20 | } |
21 | |||||
22 | } // namespace net |