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 #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_ | 5 #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_ |
6 #define NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_ | 6 #define NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "net/proxy/polling_proxy_config_service.h" | 9 #include "net/proxy/polling_proxy_config_service.h" |
9 | 10 |
10 namespace net { | 11 namespace net { |
11 | 12 |
12 class ProxyConfigServiceIOS : public PollingProxyConfigService { | 13 class ProxyConfigServiceIOS : public PollingProxyConfigService { |
13 public: | 14 public: |
14 // Constructs a ProxyConfigService that watches the iOS system proxy settings. | 15 // Constructs a ProxyConfigService that watches the iOS system proxy settings. |
15 explicit ProxyConfigServiceIOS(); | 16 explicit ProxyConfigServiceIOS(); |
16 ~ProxyConfigServiceIOS() override; | 17 ~ProxyConfigServiceIOS() override; |
17 | 18 |
18 private: | 19 private: |
19 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceIOS); | 20 DISALLOW_COPY_AND_ASSIGN(ProxyConfigServiceIOS); |
20 }; | 21 }; |
21 | 22 |
22 } // namespace net | 23 } // namespace net |
23 | 24 |
24 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_ | 25 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_IOS_H_ |
OLD | NEW |