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

Unified Diff: net/url_request/url_request_unittest.h

Issue 3119027: Adds HostResolveImpl Requests and Jobs to log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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/tools/hresolv/hresolv.cc ('k') | webkit/tools/test_shell/test_shell_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_unittest.h
===================================================================
--- net/url_request/url_request_unittest.h (revision 57182)
+++ net/url_request/url_request_unittest.h (working copy)
@@ -125,14 +125,16 @@
public:
TestURLRequestContext() {
host_resolver_ =
- net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism);
+ net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
+ NULL);
proxy_service_ = net::ProxyService::CreateNull();
Init();
}
explicit TestURLRequestContext(const std::string& proxy) {
host_resolver_ =
- net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism);
+ net::CreateSystemHostResolver(net::HostResolver::kDefaultParallelism,
+ NULL);
net::ProxyConfig proxy_config;
proxy_config.proxy_rules().ParseFromString(proxy);
proxy_service_ = net::ProxyService::CreateFixed(proxy_config);
« no previous file with comments | « net/tools/hresolv/hresolv.cc ('k') | webkit/tools/test_shell/test_shell_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698