OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/dns/dns_response.h" | 5 #include "net/dns/dns_response.h" |
6 | 6 |
7 #include "base/time.h" | 7 #include "base/time/time.h" |
8 #include "net/base/address_list.h" | 8 #include "net/base/address_list.h" |
9 #include "net/base/io_buffer.h" | 9 #include "net/base/io_buffer.h" |
10 #include "net/base/net_util.h" | 10 #include "net/base/net_util.h" |
11 #include "net/dns/dns_protocol.h" | 11 #include "net/dns/dns_protocol.h" |
12 #include "net/dns/dns_query.h" | 12 #include "net/dns/dns_query.h" |
13 #include "net/dns/dns_test_util.h" | 13 #include "net/dns/dns_test_util.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 AddressList addr_list; | 572 AddressList addr_list; |
573 base::TimeDelta ttl; | 573 base::TimeDelta ttl; |
574 EXPECT_EQ(t.expected_result, | 574 EXPECT_EQ(t.expected_result, |
575 response.ParseToAddressList(&addr_list, &ttl)); | 575 response.ParseToAddressList(&addr_list, &ttl)); |
576 } | 576 } |
577 } | 577 } |
578 | 578 |
579 } // namespace | 579 } // namespace |
580 | 580 |
581 } // namespace net | 581 } // namespace net |
OLD | NEW |