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 #if defined(USE_GCONF) | 8 #if defined(USE_GCONF) |
9 #include <gconf/gconf-client.h> | 9 #include <gconf/gconf-client.h> |
10 #endif // defined(USE_GCONF) | 10 #endif // defined(USE_GCONF) |
11 #include <limits.h> | 11 #include <limits.h> |
12 #include <stdio.h> | 12 #include <stdio.h> |
13 #include <stdlib.h> | 13 #include <stdlib.h> |
14 #include <sys/inotify.h> | 14 #include <sys/inotify.h> |
15 #include <unistd.h> | 15 #include <unistd.h> |
16 | 16 |
17 #include <map> | 17 #include <map> |
18 | 18 |
19 #include "base/bind.h" | 19 #include "base/bind.h" |
20 #include "base/compiler_specific.h" | 20 #include "base/compiler_specific.h" |
21 #include "base/debug/leak_annotations.h" | 21 #include "base/debug/leak_annotations.h" |
22 #include "base/environment.h" | 22 #include "base/environment.h" |
23 #include "base/files/file_path.h" | 23 #include "base/files/file_path.h" |
24 #include "base/files/file_util.h" | 24 #include "base/files/file_util.h" |
25 #include "base/files/scoped_file.h" | 25 #include "base/files/scoped_file.h" |
26 #include "base/logging.h" | 26 #include "base/logging.h" |
| 27 #include "base/macros.h" |
27 #include "base/message_loop/message_loop.h" | 28 #include "base/message_loop/message_loop.h" |
28 #include "base/nix/xdg_util.h" | 29 #include "base/nix/xdg_util.h" |
29 #include "base/single_thread_task_runner.h" | 30 #include "base/single_thread_task_runner.h" |
30 #include "base/strings/string_number_conversions.h" | 31 #include "base/strings/string_number_conversions.h" |
31 #include "base/strings/string_split.h" | 32 #include "base/strings/string_split.h" |
32 #include "base/strings/string_tokenizer.h" | 33 #include "base/strings/string_tokenizer.h" |
33 #include "base/strings/string_util.h" | 34 #include "base/strings/string_util.h" |
34 #include "base/threading/thread_restrictions.h" | 35 #include "base/threading/thread_restrictions.h" |
35 #include "base/timer/timer.h" | 36 #include "base/timer/timer.h" |
36 #include "net/base/net_errors.h" | 37 #include "net/base/net_errors.h" |
(...skipping 1738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1775 void ProxyConfigServiceLinux::RemoveObserver(Observer* observer) { | 1776 void ProxyConfigServiceLinux::RemoveObserver(Observer* observer) { |
1776 delegate_->RemoveObserver(observer); | 1777 delegate_->RemoveObserver(observer); |
1777 } | 1778 } |
1778 | 1779 |
1779 ProxyConfigService::ConfigAvailability | 1780 ProxyConfigService::ConfigAvailability |
1780 ProxyConfigServiceLinux::GetLatestProxyConfig(ProxyConfig* config) { | 1781 ProxyConfigServiceLinux::GetLatestProxyConfig(ProxyConfig* config) { |
1781 return delegate_->GetLatestProxyConfig(config); | 1782 return delegate_->GetLatestProxyConfig(config); |
1782 } | 1783 } |
1783 | 1784 |
1784 } // namespace net | 1785 } // namespace net |
OLD | NEW |