Delete unused downloads page asset.
[chromium-blink-merge.git] / net / proxy / proxy_resolver_mac.h
blob6d89ef539d5ee99b173757d780be095bde564038
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
3 // found in the LICENSE file.
5 #ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_
6 #define NET_PROXY_PROXY_RESOLVER_MAC_H_
8 #include "base/compiler_specific.h"
9 #include "net/base/net_export.h"
10 #include "net/proxy/proxy_resolver_factory.h"
11 #include "url/gurl.h"
13 namespace net {
15 // Implementation of ProxyResolverFactory that uses the Mac CFProxySupport to
16 // implement proxies.
17 class NET_EXPORT ProxyResolverFactoryMac : public ProxyResolverFactory {
18 public:
19 ProxyResolverFactoryMac();
21 int CreateProxyResolver(
22 const scoped_refptr<ProxyResolverScriptData>& pac_script,
23 scoped_ptr<ProxyResolver>* resolver,
24 const CompletionCallback& callback,
25 scoped_ptr<Request>* request) override;
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ProxyResolverFactoryMac);
31 } // namespace net
33 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_