xref: /aosp_15_r20/external/cronet/net/proxy_resolution/proxy_config_service_ios.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2012 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef NET_PROXY_RESOLUTION_PROXY_CONFIG_SERVICE_IOS_H_
6 #define NET_PROXY_RESOLUTION_PROXY_CONFIG_SERVICE_IOS_H_
7 
8 #include "net/proxy_resolution/polling_proxy_config_service.h"
9 
10 namespace net {
11 
12 class ProxyConfigServiceIOS : public PollingProxyConfigService {
13  public:
14   // Constructs a ProxyConfigService that watches the iOS system proxy settings.
15   explicit ProxyConfigServiceIOS(
16       const NetworkTrafficAnnotationTag& traffic_annotation);
17 
18   ProxyConfigServiceIOS(const ProxyConfigServiceIOS&) = delete;
19   ProxyConfigServiceIOS& operator=(const ProxyConfigServiceIOS&) = delete;
20 
21   ~ProxyConfigServiceIOS() override;
22 };
23 
24 }  // namespace net
25 
26 #endif  // NET_PROXY_RESOLUTION_PROXY_CONFIG_SERVICE_IOS_H_
27