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

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

Issue 8373014: Add new text for indicating we are resolving hosts during proxy resolution. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Oops Created 9 years, 2 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
OLDNEW
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_PROXY_RESOLVER_WINHTTP_H_ 5 #ifndef NET_PROXY_PROXY_RESOLVER_WINHTTP_H_
6 #define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ 6 #define NET_PROXY_PROXY_RESOLVER_WINHTTP_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "googleurl/src/gurl.h" 10 #include "googleurl/src/gurl.h"
(...skipping 11 matching lines...) Expand all
22 virtual ~ProxyResolverWinHttp(); 22 virtual ~ProxyResolverWinHttp();
23 23
24 // ProxyResolver implementation: 24 // ProxyResolver implementation:
25 virtual int GetProxyForURL(const GURL& url, 25 virtual int GetProxyForURL(const GURL& url,
26 ProxyInfo* results, 26 ProxyInfo* results,
27 OldCompletionCallback* /*callback*/, 27 OldCompletionCallback* /*callback*/,
28 RequestHandle* /*request*/, 28 RequestHandle* /*request*/,
29 const BoundNetLog& /*net_log*/) OVERRIDE; 29 const BoundNetLog& /*net_log*/) OVERRIDE;
30 virtual void CancelRequest(RequestHandle request) OVERRIDE; 30 virtual void CancelRequest(RequestHandle request) OVERRIDE;
31 31
32 virtual LoadState GetLoadState(RequestHandle request) const OVERRIDE;
33
32 virtual void CancelSetPacScript() OVERRIDE; 34 virtual void CancelSetPacScript() OVERRIDE;
33 35
34 virtual int SetPacScript( 36 virtual int SetPacScript(
35 const scoped_refptr<ProxyResolverScriptData>& script_data, 37 const scoped_refptr<ProxyResolverScriptData>& script_data,
36 OldCompletionCallback* /*callback*/) OVERRIDE; 38 OldCompletionCallback* /*callback*/) OVERRIDE;
37 39
38 private: 40 private:
39 bool OpenWinHttpSession(); 41 bool OpenWinHttpSession();
40 void CloseWinHttpSession(); 42 void CloseWinHttpSession();
41 43
42 // Proxy configuration is cached on the session handle. 44 // Proxy configuration is cached on the session handle.
43 HINTERNET session_handle_; 45 HINTERNET session_handle_;
44 46
45 GURL pac_url_; 47 GURL pac_url_;
46 48
47 DISALLOW_COPY_AND_ASSIGN(ProxyResolverWinHttp); 49 DISALLOW_COPY_AND_ASSIGN(ProxyResolverWinHttp);
48 }; 50 };
49 51
50 } // namespace net 52 } // namespace net
51 53
52 #endif // NET_PROXY_PROXY_RESOLVER_WINHTTP_H_ 54 #endif // NET_PROXY_PROXY_RESOLVER_WINHTTP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698