| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_linux.h" | 5 #include "net/proxy/proxy_config_service_linux.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <fcntl.h> | 8 #include <fcntl.h> |
| 9 #if defined(USE_GCONF) | 9 #if defined(USE_GCONF) |
| 10 #include <gconf/gconf-client.h> | 10 #include <gconf/gconf-client.h> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "base/files/file_path.h" | 24 #include "base/files/file_path.h" |
| 25 #include "base/logging.h" | 25 #include "base/logging.h" |
| 26 #include "base/message_loop.h" | 26 #include "base/message_loop.h" |
| 27 #include "base/nix/xdg_util.h" | 27 #include "base/nix/xdg_util.h" |
| 28 #include "base/single_thread_task_runner.h" | 28 #include "base/single_thread_task_runner.h" |
| 29 #include "base/strings/string_number_conversions.h" | 29 #include "base/strings/string_number_conversions.h" |
| 30 #include "base/strings/string_tokenizer.h" | 30 #include "base/strings/string_tokenizer.h" |
| 31 #include "base/strings/string_util.h" | 31 #include "base/strings/string_util.h" |
| 32 #include "base/threading/thread_restrictions.h" | 32 #include "base/threading/thread_restrictions.h" |
| 33 #include "base/timer/timer.h" | 33 #include "base/timer/timer.h" |
| 34 #include "googleurl/src/url_canon.h" | |
| 35 #include "net/base/net_errors.h" | 34 #include "net/base/net_errors.h" |
| 36 #include "net/http/http_util.h" | 35 #include "net/http/http_util.h" |
| 37 #include "net/proxy/proxy_config.h" | 36 #include "net/proxy/proxy_config.h" |
| 38 #include "net/proxy/proxy_server.h" | 37 #include "net/proxy/proxy_server.h" |
| 38 #include "url/url_canon.h" |
| 39 | 39 |
| 40 #if defined(USE_GIO) | 40 #if defined(USE_GIO) |
| 41 #include "library_loaders/libgio.h" | 41 #include "library_loaders/libgio.h" |
| 42 #endif // defined(USE_GIO) | 42 #endif // defined(USE_GIO) |
| 43 | 43 |
| 44 namespace net { | 44 namespace net { |
| 45 | 45 |
| 46 namespace { | 46 namespace { |
| 47 | 47 |
| 48 // Given a proxy hostname from a setting, returns that hostname with | 48 // Given a proxy hostname from a setting, returns that hostname with |
| (...skipping 1708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1757 void ProxyConfigServiceLinux::RemoveObserver(Observer* observer) { | 1757 void ProxyConfigServiceLinux::RemoveObserver(Observer* observer) { |
| 1758 delegate_->RemoveObserver(observer); | 1758 delegate_->RemoveObserver(observer); |
| 1759 } | 1759 } |
| 1760 | 1760 |
| 1761 ProxyConfigService::ConfigAvailability | 1761 ProxyConfigService::ConfigAvailability |
| 1762 ProxyConfigServiceLinux::GetLatestProxyConfig(ProxyConfig* config) { | 1762 ProxyConfigServiceLinux::GetLatestProxyConfig(ProxyConfig* config) { |
| 1763 return delegate_->GetLatestProxyConfig(config); | 1763 return delegate_->GetLatestProxyConfig(config); |
| 1764 } | 1764 } |
| 1765 | 1765 |
| 1766 } // namespace net | 1766 } // namespace net |
| OLD | NEW |