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

Side by Side Diff: net/proxy/proxy_list_unittest.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698