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_transaction.h" | 5 #include "net/dns/dns_transaction.h" |
6 | 6 |
7 #include "base/big_endian.h" | |
tfarina
2014/02/26 02:54:24
note to myself: remove, unused?
tfarina
2014/02/26 02:54:24
Done.
| |
7 #include "base/bind.h" | 8 #include "base/bind.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
10 #include "base/rand_util.h" | 11 #include "base/rand_util.h" |
11 #include "base/sys_byteorder.h" | 12 #include "base/sys_byteorder.h" |
12 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
13 #include "net/base/big_endian.h" | |
14 #include "net/base/dns_util.h" | 14 #include "net/base/dns_util.h" |
15 #include "net/base/net_log.h" | 15 #include "net/base/net_log.h" |
16 #include "net/dns/dns_protocol.h" | 16 #include "net/dns/dns_protocol.h" |
17 #include "net/dns/dns_query.h" | 17 #include "net/dns/dns_query.h" |
18 #include "net/dns/dns_response.h" | 18 #include "net/dns/dns_response.h" |
19 #include "net/dns/dns_session.h" | 19 #include "net/dns/dns_session.h" |
20 #include "net/dns/dns_test_util.h" | 20 #include "net/dns/dns_test_util.h" |
21 #include "net/socket/socket_test_util.h" | 21 #include "net/socket/socket_test_util.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 | 23 |
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
931 config_.timeout = TestTimeouts::tiny_timeout(); | 931 config_.timeout = TestTimeouts::tiny_timeout(); |
932 ConfigureFactory(); | 932 ConfigureFactory(); |
933 | 933 |
934 TransactionHelper helper0(".", dns_protocol::kTypeA, ERR_INVALID_ARGUMENT); | 934 TransactionHelper helper0(".", dns_protocol::kTypeA, ERR_INVALID_ARGUMENT); |
935 EXPECT_TRUE(helper0.Run(transaction_factory_.get())); | 935 EXPECT_TRUE(helper0.Run(transaction_factory_.get())); |
936 } | 936 } |
937 | 937 |
938 } // namespace | 938 } // namespace |
939 | 939 |
940 } // namespace net | 940 } // namespace net |
OLD | NEW |