Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1093)

Side by Side Diff: net/proxy/proxy_resolver_mac.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/proxy/proxy_resolver_error_observer.h ('k') | net/proxy/proxy_resolver_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #ifndef NET_PROXY_PROXY_RESOLVER_MAC_H_
6 #define NET_PROXY_PROXY_RESOLVER_MAC_H_
7
8 #include "base/compiler_specific.h"
9 #include "net/base/net_errors.h"
10 #include "net/base/net_export.h"
11 #include "net/proxy/proxy_resolver.h"
12 #include "url/gurl.h"
13
14 namespace net {
15
16 // Implementation of ProxyResolver that uses the Mac CFProxySupport to implement
17 // proxies.
18 class NET_EXPORT ProxyResolverMac : public ProxyResolver {
19 public:
20 ProxyResolverMac();
21 ~ProxyResolverMac() override;
22
23 // ProxyResolver methods:
24 int GetProxyForURL(const GURL& url,
25 ProxyInfo* results,
26 const net::CompletionCallback& callback,
27 RequestHandle* request,
28 const BoundNetLog& net_log) override;
29
30 void CancelRequest(RequestHandle request) override;
31
32 LoadState GetLoadState(RequestHandle request) const override;
33
34 void CancelSetPacScript() override;
35
36 int SetPacScript(const scoped_refptr<ProxyResolverScriptData>& script_data,
37 const net::CompletionCallback& /*callback*/) override;
38
39 private:
40 scoped_refptr<ProxyResolverScriptData> script_data_;
41 };
42
43 } // namespace net
44
45 #endif // NET_PROXY_PROXY_RESOLVER_MAC_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_error_observer.h ('k') | net/proxy/proxy_resolver_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698