| OLD | NEW |
| 1 // Copyright (c) 2011 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 #ifndef NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ | 5 #ifndef NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ |
| 6 #define NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ | 6 #define NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 10 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 11 #include "net/proxy/proxy_config_service.h" | 12 #include "net/proxy/proxy_config_service.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 | 15 |
| 15 // PollingProxyConfigService is a base class for creating ProxyConfigService | 16 // PollingProxyConfigService is a base class for creating ProxyConfigService |
| 16 // implementations that use polling to notice when settings have change. | 17 // implementations that use polling to notice when settings have change. |
| 17 // | 18 // |
| 18 // It runs code to get the current proxy settings on a background worker | 19 // It runs code to get the current proxy settings on a background worker |
| (...skipping 27 matching lines...) Expand all Loading... |
| 46 private: | 47 private: |
| 47 class Core; | 48 class Core; |
| 48 scoped_refptr<Core> core_; | 49 scoped_refptr<Core> core_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(PollingProxyConfigService); | 51 DISALLOW_COPY_AND_ASSIGN(PollingProxyConfigService); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace net | 54 } // namespace net |
| 54 | 55 |
| 55 #endif // NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ | 56 #endif // NET_PROXY_POLLING_PROXY_CONFIG_SERVICE_H_ |
| OLD | NEW |