diff options
Diffstat (limited to 'net/proxy/proxy_info_unittest.cc')
-rw-r--r-- | net/proxy/proxy_info_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/proxy/proxy_info_unittest.cc b/net/proxy/proxy_info_unittest.cc index 377cff34..165283d 100644 --- a/net/proxy/proxy_info_unittest.cc +++ b/net/proxy/proxy_info_unittest.cc @@ -2,6 +2,7 @@ // 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/proxy/proxy_info.h" #include "testing/gtest/include/gtest/gtest.h" @@ -32,7 +33,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()); } |