Chromium Code Reviews| Index: net/proxy/proxy_info_unittest.cc |
| diff --git a/net/proxy/proxy_info_unittest.cc b/net/proxy/proxy_info_unittest.cc |
| index 377cff3438a5a8bd3513b4ee046c5d166456773b..cdceb835b4c0edb531ce23c86efc66834ae70db6 100644 |
| --- a/net/proxy/proxy_info_unittest.cc |
| +++ b/net/proxy/proxy_info_unittest.cc |
| @@ -2,6 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +#include "net/base/net_errors.h" |
| +#include "net/base/net_util.h" |
|
Ryan Sleevi
2014/08/15 00:02:23
Why do you need to introduce net_util here?
Not at Google. Contact bengr
2014/08/15 17:26:59
Done.
|
| #include "net/proxy/proxy_info.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| @@ -32,7 +34,7 @@ TEST(ProxyInfoTest, ProxyInfoIsDirectOnly) { |
| EXPECT_FALSE(info.is_direct()); |
| EXPECT_FALSE(info.is_direct_only()); |
| // After falling back to direct, we shouldn't consider it DIRECT only. |
| - EXPECT_TRUE(info.Fallback(BoundNetLog())); |
| + EXPECT_TRUE(info.Fallback(ERR_PROXY_CONNECTION_FAILED, BoundNetLog())); |
| EXPECT_TRUE(info.is_direct()); |
| EXPECT_FALSE(info.is_direct_only()); |
| } |