| 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 <time.h> | 5 #include <time.h> |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <sstream> | 8 #include <sstream> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/platform_thread.h" | |
| 13 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 14 #include "base/timer.h" | 13 #include "base/timer.h" |
| 15 #include "chrome/browser/net/dns_global.h" | 14 #include "chrome/browser/net/dns_global.h" |
| 16 #include "chrome/browser/net/dns_host_info.h" | 15 #include "chrome/browser/net/dns_host_info.h" |
| 17 #include "chrome/common/net/dns.h" | 16 #include "chrome/common/net/dns.h" |
| 18 #include "net/base/address_list.h" | 17 #include "net/base/address_list.h" |
| 19 #include "net/base/host_resolver.h" | 18 #include "net/base/host_resolver.h" |
| 20 #include "net/base/host_resolver_unittest.h" | 19 #include "net/base/host_resolver_unittest.h" |
| 21 #include "net/base/winsock_init.h" | 20 #include "net/base/winsock_init.h" |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 21 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 recovered_referral_list)); | 528 recovered_referral_list)); |
| 530 EXPECT_EQ(kLatencyNotFound, | 529 EXPECT_EQ(kLatencyNotFound, |
| 531 GetLatencyFromSerialization(motivation_hostname, | 530 GetLatencyFromSerialization(motivation_hostname, |
| 532 img_subresource_hostname, | 531 img_subresource_hostname, |
| 533 recovered_referral_list)); | 532 recovered_referral_list)); |
| 534 | 533 |
| 535 master.Shutdown(); | 534 master.Shutdown(); |
| 536 } | 535 } |
| 537 | 536 |
| 538 } // namespace chrome_browser_net | 537 } // namespace chrome_browser_net |
| OLD | NEW |