diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 18:34:35 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-24 18:34:35 +0000 |
commit | 2d3baf01ef4f8ec59e7be0e253158dfdb2a98a35 (patch) | |
tree | 47b26732ab7c34a6fd961690ee3a755e33c877f9 /net/http/http_network_layer_unittest.cc | |
parent | e16d397e25dd8a0a3f07e81528c1f9619051cf19 (diff) | |
download | chromium_src-2d3baf01ef4f8ec59e7be0e253158dfdb2a98a35.zip chromium_src-2d3baf01ef4f8ec59e7be0e253158dfdb2a98a35.tar.gz chromium_src-2d3baf01ef4f8ec59e7be0e253158dfdb2a98a35.tar.bz2 |
Apply minor tweaks to ScopedHostMapper per review feedback.
R=wtc
Review URL: http://codereview.chromium.org/4253
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_layer_unittest.cc')
-rw-r--r-- | net/http/http_network_layer_unittest.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/http/http_network_layer_unittest.cc b/net/http/http_network_layer_unittest.cc index 316c91d..ec0e08c 100644 --- a/net/http/http_network_layer_unittest.cc +++ b/net/http/http_network_layer_unittest.cc @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "net/base/host_resolver_unittest.h" +#include "net/base/scoped_host_mapper.h" #include "net/http/http_network_layer.h" #include "net/http/http_transaction_unittest.h" +#include "net/proxy/proxy_service.h" #include "testing/gtest/include/gtest/gtest.h" namespace { @@ -47,7 +48,9 @@ TEST_F(HttpNetworkLayerTest, Suspend) { } TEST_F(HttpNetworkLayerTest, GoogleGET) { - net::HttpNetworkLayer factory(NULL); + net::ProxyInfo no_proxy; // Avoid using a proxy server. + net::HttpNetworkLayer factory(&no_proxy); + TestCompletionCallback callback; net::HttpTransaction* trans = factory.CreateTransaction(); |