| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/proxy/proxy_config_service_fixed.h" | 5 #include "net/proxy/proxy_config_service_fixed.h" |
| 6 | 6 |
| 7 namespace net { | 7 namespace net { |
| 8 | 8 |
| 9 ProxyConfigServiceFixed::ProxyConfigServiceFixed(const ProxyConfig& pc) | 9 ProxyConfigServiceFixed::ProxyConfigServiceFixed(const ProxyConfig& pc) |
| 10 : pc_(pc) { | 10 : pc_(pc) { |
| 11 } | 11 } |
| 12 | 12 |
| 13 ProxyConfigServiceFixed::~ProxyConfigServiceFixed() {} | 13 ProxyConfigServiceFixed::~ProxyConfigServiceFixed() {} |
| 14 | 14 |
| 15 bool ProxyConfigServiceFixed::GetLatestProxyConfig(ProxyConfig* config) { | 15 ProxyConfigService::ConfigAvailability |
| 16 ProxyConfigServiceFixed::GetLatestProxyConfig(ProxyConfig* config) { |
| 16 *config = pc_; | 17 *config = pc_; |
| 17 return true; | 18 return CONFIG_VALID; |
| 18 } | 19 } |
| 19 | 20 |
| 20 } // namespace net | 21 } // namespace net |
| OLD | NEW |