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

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

Issue 2833021: Add an additional per-request DNS cache when executing FindProxyForURL() from... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address wtc's comments Created 10 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « net/proxy/proxy_resolver_js_bindings_unittest.cc ('k') | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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_REQUEST_CONTEXT_H_
6 #define NET_PROXY_PROXY_RESOLVER_REQUEST_CONTEXT_H_
7
8 namespace net {
9
10 class HostCache;
11 class BoundNetLog;
12
13 // This data structure holds state related to an invocation of
14 // "FindProxyForURL()". It is used to associate per-request
15 // data that can be retrieved by the bindings.
16 struct ProxyResolverRequestContext {
17 // All of these pointers are expected to remain valid for duration of
18 // this instance's lifetime.
19 ProxyResolverRequestContext(const GURL* query_url,
20 const BoundNetLog* net_log,
21 HostCache* host_cache)
22 : query_url(query_url),
23 net_log(net_log),
24 host_cache(host_cache) {
25 }
26
27 const GURL* query_url;
wtc 2010/06/23 00:59:02 You forgot to remove the query_url, which I believ
28 const BoundNetLog* net_log;
29 HostCache* host_cache;
30 };
31
32 } // namespace net
33
34 #endif // NET_PROXY_PROXY_RESOLVER_REQUEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_js_bindings_unittest.cc ('k') | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698