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

Unified Diff: net/proxy/init_proxy_resolver.h

Issue 1783008: Cleanup: Remove the implicit constructor for BoundNetLog that allowed passing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Sync Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/proxy/init_proxy_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/init_proxy_resolver.h
===================================================================
--- net/proxy/init_proxy_resolver.h (revision 45843)
+++ net/proxy/init_proxy_resolver.h (working copy)
@@ -14,7 +14,6 @@
namespace net {
-class BoundNetLog;
class ProxyConfig;
class ProxyResolver;
class ProxyScriptFetcher;
@@ -37,18 +36,18 @@
//
class InitProxyResolver {
public:
- // |resolver| and |proxy_script_fetcher| must remain valid for
+ // |resolver|, |proxy_script_fetcher| and |net_log| must remain valid for
// the lifespan of InitProxyResolver.
InitProxyResolver(ProxyResolver* resolver,
- ProxyScriptFetcher* proxy_script_fetcher);
+ ProxyScriptFetcher* proxy_script_fetcher,
+ NetLog* net_log);
// Aborts any in-progress request.
~InitProxyResolver();
// Apply the PAC settings of |config| to |resolver_|.
int Init(const ProxyConfig& config,
- CompletionCallback* callback,
- const BoundNetLog& net_log);
+ CompletionCallback* callback);
private:
enum State {
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/proxy/init_proxy_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698