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

Side by Side Diff: net/proxy/proxy_resolver_v8.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: Address eroman's nits. Created 9 years, 1 month 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_mac.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')
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_V8_H_ 5 #ifndef NET_PROXY_PROXY_RESOLVER_V8_H_
6 #define NET_PROXY_PROXY_RESOLVER_V8_H_ 6 #define NET_PROXY_PROXY_RESOLVER_V8_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 ProxyResolverJSBindings* js_bindings() const { return js_bindings_.get(); } 45 ProxyResolverJSBindings* js_bindings() const { return js_bindings_.get(); }
46 46
47 // ProxyResolver implementation: 47 // ProxyResolver implementation:
48 virtual int GetProxyForURL(const GURL& url, 48 virtual int GetProxyForURL(const GURL& url,
49 ProxyInfo* results, 49 ProxyInfo* results,
50 OldCompletionCallback* /*callback*/, 50 OldCompletionCallback* /*callback*/,
51 RequestHandle* /*request*/, 51 RequestHandle* /*request*/,
52 const BoundNetLog& net_log) OVERRIDE; 52 const BoundNetLog& net_log) OVERRIDE;
53 virtual void CancelRequest(RequestHandle request) OVERRIDE; 53 virtual void CancelRequest(RequestHandle request) OVERRIDE;
54 virtual LoadState GetLoadState(RequestHandle request) const OVERRIDE;
55 virtual LoadState GetLoadStateThreadSafe(
56 RequestHandle request) const OVERRIDE;
54 virtual void CancelSetPacScript() OVERRIDE; 57 virtual void CancelSetPacScript() OVERRIDE;
55 virtual void PurgeMemory() OVERRIDE; 58 virtual void PurgeMemory() OVERRIDE;
56 virtual void Shutdown() OVERRIDE; 59 virtual void Shutdown() OVERRIDE;
57 virtual int SetPacScript( 60 virtual int SetPacScript(
58 const scoped_refptr<ProxyResolverScriptData>& script_data, 61 const scoped_refptr<ProxyResolverScriptData>& script_data,
59 OldCompletionCallback* /*callback*/) OVERRIDE; 62 OldCompletionCallback* /*callback*/) OVERRIDE;
60 63
61 private: 64 private:
62 // Context holds the Javascript state for the most recently loaded PAC 65 // Context holds the Javascript state for the most recently loaded PAC
63 // script. It corresponds with the data from the last call to 66 // script. It corresponds with the data from the last call to
64 // SetPacScript(). 67 // SetPacScript().
65 class Context; 68 class Context;
66 scoped_ptr<Context> context_; 69 scoped_ptr<Context> context_;
67 70
68 scoped_ptr<ProxyResolverJSBindings> js_bindings_; 71 scoped_ptr<ProxyResolverJSBindings> js_bindings_;
69 72
70 DISALLOW_COPY_AND_ASSIGN(ProxyResolverV8); 73 DISALLOW_COPY_AND_ASSIGN(ProxyResolverV8);
71 }; 74 };
72 75
73 } // namespace net 76 } // namespace net
74 77
75 #endif // NET_PROXY_PROXY_RESOLVER_V8_H_ 78 #endif // NET_PROXY_PROXY_RESOLVER_V8_H_
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_mac.cc ('k') | net/proxy/proxy_resolver_v8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698