OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/proxy/proxy_list.h" | 5 #include "net/proxy/proxy_list.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
10 #include "net/log/net_log.h" | 10 #include "net/log/net_log_with_source.h" |
11 #include "net/proxy/proxy_retry_info.h" | 11 #include "net/proxy/proxy_retry_info.h" |
12 #include "net/proxy/proxy_server.h" | 12 #include "net/proxy/proxy_server.h" |
13 #include "net/test/gtest_util.h" | 13 #include "net/test/gtest_util.h" |
14 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
16 | 16 |
17 using net::test::IsOk; | 17 using net::test::IsOk; |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 EXPECT_GT(retry_info_map["foopy1:80"].bad_until, | 307 EXPECT_GT(retry_info_map["foopy1:80"].bad_until, |
308 base::TimeTicks::Now() + base::TimeDelta::FromSeconds(30)); | 308 base::TimeTicks::Now() + base::TimeDelta::FromSeconds(30)); |
309 EXPECT_TRUE(retry_info_map.end() == retry_info_map.find("foopy2:80")); | 309 EXPECT_TRUE(retry_info_map.end() == retry_info_map.find("foopy2:80")); |
310 EXPECT_TRUE(retry_info_map.end() == retry_info_map.find("foopy3:80")); | 310 EXPECT_TRUE(retry_info_map.end() == retry_info_map.find("foopy3:80")); |
311 } | 311 } |
312 } | 312 } |
313 | 313 |
314 } // namesapce | 314 } // namesapce |
315 | 315 |
316 } // namespace net | 316 } // namespace net |
OLD | NEW |